KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > jms > MockMessagePublisher


1 package com.mockobjects.jms;
2
3 import com.mockobjects.*;
4 import javax.jms.*;
5
6 public class MockMessagePublisher extends MockObject implements MessageProducer{
7     public void close() throws JMSException{
8         notImplemented();
9     }
10
11     public int getDeliveryMode() throws JMSException{
12         notImplemented();
13         return -1;
14     }
15
16     public boolean getDisableMessageID() throws JMSException{
17         notImplemented();
18         return false;
19     }
20
21     public boolean getDisableMessageTimestamp() throws JMSException{
22         notImplemented();
23         return false;
24     }
25
26     public int getPriority() throws JMSException{
27         notImplemented();
28         return -1;
29     }
30
31     public long getTimeToLive() throws JMSException{
32         notImplemented();
33         return -1;
34     }
35
36     public void setDeliveryMode(int deliveryMode) throws JMSException{
37         notImplemented();
38     }
39
40     public void setDisableMessageID(boolean disableMessageId)
41     throws JMSException{
42         notImplemented();
43     }
44
45     public void setDisableMessageTimestamp(boolean disableMessageTimeStamp)
46     throws JMSException{
47         notImplemented();
48     }
49
50     public void setPriority(int priority) throws JMSException{
51         notImplemented();
52     }
53
54     public void setTimeToLive(long timeToLive) throws JMSException{
55         notImplemented();
56     }
57
58 }
59
Popular Tags