| java.lang.Object org.mockejb.jms.MockSession org.mockejb.jms.TopicSessionImpl
TopicSessionImpl | class TopicSessionImpl extends MockSession implements TopicSession(Code) | | TopicSession implementation.
Only topics of type MockTopic are supported.
author: Dimitar Gospodinov |
Constructor Summary | |
| TopicSessionImpl(boolean transacted, int acknowledgeMode, MockConnection connection) Creates new topic session with the specified attributes. |
TopicSessionImpl | TopicSessionImpl(boolean transacted, int acknowledgeMode, MockConnection connection)(Code) | | Creates new topic session with the specified attributes.
Parameters: transacted - Parameters: acknowledgeMode - |
createBrowser | public QueueBrowser createBrowser(Queue queue) throws JMSException(Code) | | Throws IllegalStateException
|
createBrowser | public QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException(Code) | | Throws IllegalStateException
|
createDurableSubscriber | public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException(Code) | | Not implemented.
See Also: javax.jms.TopicSession.createDurableSubscriber(javax.jms.Topicjava.lang.String) |
createDurableSubscriber | public TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException(Code) | | Not implemented.
See Also: javax.jms.TopicSession.createDurableSubscriber(javax.jms.Topicjava.lang.Stringjava.lang.Stringboolean) |
createPublisher | public TopicPublisher createPublisher(Topic topic) throws JMSException(Code) | | Creates topic publisher for topic .
topic must be MockTopic .
TopicPublisher for topic throws: InvalidDestinationException - if topic is not instance of MockTopic See Also: javax.jms.TopicSession.createPublisher(javax.jms.Topic) |
createQueue | public Queue createQueue(String queueName) throws JMSException(Code) | | Throws IllegalStateException
|
createSubscriber | public TopicSubscriber createSubscriber(Topic topic) throws JMSException(Code) | | Creates subscriber for topic
See Also: javax.jms.TopicSession.createSubscriber(javax.jms.Topic) |
createSubscriber | public TopicSubscriber createSubscriber(Topic topic, String messageSelector, boolean noLocal) throws JMSException(Code) | | Not implemented.
See Also: javax.jms.TopicSession.createSubscriber(javax.jms.Topicjava.lang.Stringboolean) |
createTemporaryQueue | public TemporaryQueue createTemporaryQueue() throws JMSException(Code) | | Throws IllegalStateException
|
createTemporaryTopic | public TemporaryTopic createTemporaryTopic() throws JMSException(Code) | | |
createTopic | public Topic createTopic(String topicName) throws JMSException(Code) | | Not implemented.
See Also: javax.jms.TopicSession.createTopic(java.lang.String) |
unsubscribe | public void unsubscribe(String name) throws JMSException(Code) | | |
|
|