public class JmsQueueSession extends JmsSession implements AutoCloseable
Modifier | Constructor and Description |
---|---|
protected |
JmsQueueSession(JmsConnection connection,
JmsSessionId sessionId,
int acknowledgementMode) |
Modifier and Type | Method and Description |
---|---|
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination destination) |
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination destination,
String messageSelector) |
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination destination,
String messageSelector,
boolean noLocal) |
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
String name) |
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
String name,
String messageSelector,
boolean noLocal) |
javax.jms.MessageProducer |
createProducer(javax.jms.Destination destination) |
javax.jms.TopicPublisher |
createPublisher(javax.jms.Topic topic) |
javax.jms.TopicSubscriber |
createSubscriber(javax.jms.Topic topic) |
javax.jms.TopicSubscriber |
createSubscriber(javax.jms.Topic topic,
String messageSelector,
boolean noLocal) |
javax.jms.TemporaryTopic |
createTemporaryTopic() |
javax.jms.Topic |
createTopic(String topicName) |
void |
unsubscribe(String name) |
add, add, checkClientIDWasSetExplicitly, checkClosed, checkDestination, close, commit, createBrowser, createBrowser, createBytesMessage, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createQueue, createReceiver, createReceiver, createSender, createStreamMessage, createTemporaryQueue, createTextMessage, createTextMessage, doClose, getAcknowledgeMode, getConnection, getDeserializationPolicy, getMessageIDPolicy, getMessageListener, getNextConsumerId, getNextProducerId, getPrefetchPolicy, getPresettlePolicy, getRedeliveryPolicy, getSessionId, getSessionInfo, getTransacted, getTransactionContext, isAutoAcknowledge, isClientAcknowledge, isClosed, isDupsOkAcknowledge, isStarted, isTransacted, lookup, lookup, onConnectionInterrupted, onConnectionRecovered, onConnectionRecovery, onConnectionRestored, onException, onException, onInboundMessage, recover, remove, remove, rollback, run, send, setMessageListener, setTransactionContext, shutdown, shutdown, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
protected JmsQueueSession(JmsConnection connection, JmsSessionId sessionId, int acknowledgementMode) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.MessageConsumer createConsumer(javax.jms.Destination destination) throws javax.jms.JMSException
createConsumer
in interface javax.jms.Session
createConsumer
in class JmsSession
javax.jms.JMSException
Session.createConsumer(javax.jms.Destination)
public javax.jms.MessageConsumer createConsumer(javax.jms.Destination destination, String messageSelector) throws javax.jms.JMSException
createConsumer
in interface javax.jms.Session
createConsumer
in class JmsSession
javax.jms.JMSException
Session.createConsumer(javax.jms.Destination, java.lang.String)
public javax.jms.MessageConsumer createConsumer(javax.jms.Destination destination, String messageSelector, boolean noLocal) throws javax.jms.JMSException
createConsumer
in interface javax.jms.Session
createConsumer
in class JmsSession
javax.jms.JMSException
Session.createConsumer(javax.jms.Destination, java.lang.String, boolean)
public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic, String name) throws javax.jms.JMSException
createDurableSubscriber
in interface javax.jms.Session
createDurableSubscriber
in interface javax.jms.TopicSession
createDurableSubscriber
in class JmsSession
javax.jms.JMSException
Session.createDurableSubscriber(javax.jms.Topic, java.lang.String)
public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic, String name, String messageSelector, boolean noLocal) throws javax.jms.JMSException
createDurableSubscriber
in interface javax.jms.Session
createDurableSubscriber
in interface javax.jms.TopicSession
createDurableSubscriber
in class JmsSession
javax.jms.JMSException
Session.createDurableSubscriber(javax.jms.Topic, java.lang.String, java.lang.String, boolean)
public javax.jms.MessageProducer createProducer(javax.jms.Destination destination) throws javax.jms.JMSException
createProducer
in interface javax.jms.Session
createProducer
in class JmsSession
javax.jms.JMSException
Session.createProducer(javax.jms.Destination)
public javax.jms.TemporaryTopic createTemporaryTopic() throws javax.jms.JMSException
createTemporaryTopic
in interface javax.jms.Session
createTemporaryTopic
in interface javax.jms.TopicSession
createTemporaryTopic
in class JmsSession
javax.jms.JMSException
Session.createTemporaryTopic()
public javax.jms.Topic createTopic(String topicName) throws javax.jms.JMSException
createTopic
in interface javax.jms.Session
createTopic
in interface javax.jms.TopicSession
createTopic
in class JmsSession
javax.jms.JMSException
Session.createTopic(java.lang.String)
public void unsubscribe(String name) throws javax.jms.JMSException
unsubscribe
in interface javax.jms.Session
unsubscribe
in interface javax.jms.TopicSession
unsubscribe
in class JmsSession
javax.jms.JMSException
Session.unsubscribe(java.lang.String)
public javax.jms.TopicPublisher createPublisher(javax.jms.Topic topic) throws javax.jms.JMSException
createPublisher
in interface javax.jms.TopicSession
createPublisher
in class JmsSession
javax.jms.JMSException
TopicSession.createPublisher(javax.jms.Topic)
public javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic) throws javax.jms.JMSException
createSubscriber
in interface javax.jms.TopicSession
createSubscriber
in class JmsSession
javax.jms.JMSException
TopicSession.createSubscriber(javax.jms.Topic)
public javax.jms.TopicSubscriber createSubscriber(javax.jms.Topic topic, String messageSelector, boolean noLocal) throws javax.jms.JMSException
createSubscriber
in interface javax.jms.TopicSession
createSubscriber
in class JmsSession
javax.jms.JMSException
TopicSession.createSubscriber(javax.jms.Topic, java.lang.String, boolean)
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.