KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > jms > serverless > MessageProducerImpl


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.jms.serverless;
8
9 import org.jboss.logging.Logger;
10 import javax.jms.JMSException JavaDoc;
11 import javax.jms.Destination JavaDoc;
12 import javax.jms.Message JavaDoc;
13 import javax.jms.MessageProducer JavaDoc;
14
15 /**
16  *
17  * @author Ovidiu Feodorov <ovidiu@jboss.org>
18  * @version $Revision: 1.1 $ $Date: 2004/04/15 22:54:19 $
19  *
20  **/

21 class MessageProducerImpl implements MessageProducer JavaDoc {
22
23     private static final Logger log = Logger.getLogger(MessageProducerImpl.class);
24
25     private SessionImpl session;
26     private Destination JavaDoc destination;
27
28     MessageProducerImpl(SessionImpl session, Destination JavaDoc destination) {
29
30         this.session = session;
31         this.destination = destination;
32
33         // TO_DO
34
}
35
36
37     //
38
// MessageProducer INTERFACE IMPLEMENTATION
39
//
40

41
42     public void setDisableMessageID(boolean value) throws JMSException JavaDoc {
43         throw new NotImplementedException();
44     }
45
46     public boolean getDisableMessageID() throws JMSException JavaDoc {
47         throw new NotImplementedException();
48     }
49
50     public void setDisableMessageTimestamp(boolean value) throws JMSException JavaDoc {
51         throw new NotImplementedException();
52     }
53
54     public boolean getDisableMessageTimestamp() throws JMSException JavaDoc {
55         throw new NotImplementedException();
56     }
57
58     public void setDeliveryMode(int deliveryMode) throws JMSException JavaDoc {
59         throw new NotImplementedException();
60     }
61
62     public int getDeliveryMode() throws JMSException JavaDoc {
63         throw new NotImplementedException();
64     }
65
66     public void setPriority(int defaultPriority) throws JMSException JavaDoc {
67         throw new NotImplementedException();
68     }
69
70     public int getPriority() throws JMSException JavaDoc {
71         throw new NotImplementedException();
72     }
73
74     public void setTimeToLive(long timeToLive) throws JMSException JavaDoc {
75         throw new NotImplementedException();
76     }
77  
78     public long getTimeToLive() throws JMSException JavaDoc {
79         throw new NotImplementedException();
80     }
81
82     public Destination JavaDoc getDestination() throws JMSException JavaDoc {
83         return destination;
84     }
85     
86     public void close() throws JMSException JavaDoc {
87         throw new NotImplementedException();
88     }
89     
90     public void send(Message JavaDoc message) throws JMSException JavaDoc {
91
92         message.setJMSDestination(destination);
93         session.send(message);
94
95     }
96     
97     public void send(Message JavaDoc message, int deliveryMode, int priority, long timeToLive)
98         throws JMSException JavaDoc {
99         throw new NotImplementedException();
100     }
101     
102     public void send(Destination JavaDoc destination, Message JavaDoc message) throws JMSException JavaDoc {
103         throw new NotImplementedException();
104     }
105  
106     public void send(Destination JavaDoc destination,
107                      Message JavaDoc message,
108                      int deliveryMode,
109                      int priority,
110                      long timeToLive) throws JMSException JavaDoc {
111         throw new NotImplementedException();
112     }
113     
114 }
115
Popular Tags