com.mockobjects.jms
Class MockTopicPublisher

java.lang.Object
  extended bycom.mockobjects.MockObject
      extended bycom.mockobjects.jms.MockMessagePublisher
          extended bycom.mockobjects.jms.MockTopicPublisher
All Implemented Interfaces:
Verifiable

public class MockTopicPublisher
extends MockMessagePublisher


Constructor Summary
MockTopicPublisher()
           
 
Method Summary
 Topic getTopic()
           
 void publish(Message message)
           
 void publish(Message message, int deliveryMode, int priority, long timeToLive)
           
 void publish(Topic topic, Message message)
           
 void publish(Topic topic, Message message, int deliveryMode, int priority, long timeToLive)
           
 void setExpectedMessage(Message message)
           
 
Methods inherited from class com.mockobjects.jms.MockMessagePublisher
close, getDeliveryMode, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive
 
Methods inherited from class com.mockobjects.MockObject
notImplemented, notYetImplemented, verify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockTopicPublisher

public MockTopicPublisher()
Method Detail

setExpectedMessage

public void setExpectedMessage(Message message)

getTopic

public Topic getTopic()
               throws JMSException
Throws:
JMSException

publish

public void publish(Message message)
             throws JMSException
Throws:
JMSException

publish

public void publish(Message message,
                    int deliveryMode,
                    int priority,
                    long timeToLive)
             throws JMSException
Throws:
JMSException

publish

public void publish(Topic topic,
                    Message message)
             throws JMSException
Throws:
JMSException

publish

public void publish(Topic topic,
                    Message message,
                    int deliveryMode,
                    int priority,
                    long timeToLive)
             throws JMSException
Throws:
JMSException


Copyright © 2002 Mock Objects. All Rights Reserved.