| java.lang.Object org.mockejb.jms.MockProducer org.mockejb.jms.TopicPublisherImpl
TopicPublisherImpl | class TopicPublisherImpl extends MockProducer implements TopicPublisher(Code) | | TopicPublisher implementation.
Supports only MockDestination destinations.
author: Dimitar Gospodinov |
Method Summary | |
public Topic | getTopic() | public void | publish(Message msg) | public void | publish(Message msg, int deliveryMode, int priority, long timeToLive) | public void | publish(Topic topic, Message msg) | public void | publish(Topic topic, Message msg, int deliveryMode, int priority, long timeToLive) |
TopicPublisherImpl | public TopicPublisherImpl(MockTopic topic)(Code) | | Creates new topic publisher for topic .
Parameters: topic - |
getTopic | public Topic getTopic() throws JMSException(Code) | | See Also: javax.jms.TopicPublisher.getTopic |
publish | public void publish(Message msg) throws JMSException(Code) | | See Also: javax.jms.TopicPublisher.publish(javax.jms.Message) |
publish | public void publish(Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code) | | See Also: javax.jms.TopicPublisher.publish(javax.jms.Messageintintlong) |
publish | public void publish(Topic topic, Message msg) throws JMSException(Code) | | See Also: javax.jms.TopicPublisher.publish(javax.jms.Topicjavax.jms.Message) |
publish | public void publish(Topic topic, Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code) | | See Also: javax.jms.TopicPublisher.publish(javax.jms.Topicjavax.jms.Messageintintlong) |
Methods inherited from org.mockejb.jms.MockProducer | protected void checkDestination(boolean unidentifiedDestinationCheck)(Code)(Java Doc) public void close() throws JMSException(Code)(Java Doc) public int getDeliveryMode() throws JMSException(Code)(Java Doc) public Destination getDestination() throws JMSException(Code)(Java Doc) public boolean getDisableMessageID() throws JMSException(Code)(Java Doc) public boolean getDisableMessageTimestamp() throws JMSException(Code)(Java Doc) protected static synchronized int getMessageId()(Code)(Java Doc) public int getPriority() throws JMSException(Code)(Java Doc) public long getTimeToLive() throws JMSException(Code)(Java Doc) public void send(Message msg) throws JMSException(Code)(Java Doc) public void send(Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code)(Java Doc) public void send(Destination destination, Message msg) throws JMSException(Code)(Java Doc) public void send(Destination destination, Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code)(Java Doc) protected static void sendMessage(MockDestination destination, Message msg, int deliveryMode, int priority, long timeToLive) throws JMSException(Code)(Java Doc) public void setDeliveryMode(int deliveryMode) throws JMSException(Code)(Java Doc) public void setDisableMessageID(boolean arg0) throws JMSException(Code)(Java Doc) public void setDisableMessageTimestamp(boolean arg0) throws JMSException(Code)(Java Doc) public void setPriority(int priority) throws JMSException(Code)(Java Doc) public void setTimeToLive(long timeToLive) throws JMSException(Code)(Java Doc)
|
|
|