com.github.smokestack.jms
Class MockTopicSubscriber

java.lang.Object
  extended by com.github.smokestack.jms.MockMessageConsumer
      extended by com.github.smokestack.jms.MockTopicSubscriber
All Implemented Interfaces:
MessageConsumer, TopicSubscriber

public class MockTopicSubscriber
extends MockMessageConsumer
implements TopicSubscriber

Author:
gliptak

Nested Class Summary
 
Nested classes/interfaces inherited from class com.github.smokestack.jms.MockMessageConsumer
MockMessageConsumer.MessageConsumerState
 
Field Summary
 
Fields inherited from class com.github.smokestack.jms.MockMessageConsumer
destination, messageListener, messageSelector, mockState, NoLocal
 
Constructor Summary
MockTopicSubscriber(Topic topic, String name)
           
 
Method Summary
 boolean _getNoLocal()
           
 Topic _getTopic()
           
 boolean getNoLocal()
           
 Topic getTopic()
           
 String toString()
           
 
Methods inherited from class com.github.smokestack.jms.MockMessageConsumer
_close, _getMessageListener, _getMessageSelector, _receive, _receive, _receiveNoWait, _setMessageListener, close, getMessageListener, getMessageSelector, getMockState, receive, receive, receiveNoWait, setMessageListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
 

Constructor Detail

MockTopicSubscriber

public MockTopicSubscriber(Topic topic,
                           String name)
Method Detail

getNoLocal

public boolean getNoLocal()
                   throws JMSException
Specified by:
getNoLocal in interface TopicSubscriber
Throws:
JMSException

_getNoLocal

public boolean _getNoLocal()
                    throws JMSException
Throws:
JMSException

getTopic

public Topic getTopic()
               throws JMSException
Specified by:
getTopic in interface TopicSubscriber
Throws:
JMSException

_getTopic

public Topic _getTopic()
                throws JMSException
Throws:
JMSException

toString

public String toString()
Overrides:
toString in class MockMessageConsumer


Copyright © 2009-2010 Smokestack. All Rights Reserved.