public class ActiveMQQueueSession extends Object implements QueueSession
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED| Constructor and Description |
|---|
ActiveMQQueueSession(QueueSession next) |
public ActiveMQQueueSession(QueueSession next)
public void close() throws JMSException
close in interface SessionJMSExceptionpublic void commit() throws JMSException
commit in interface SessionJMSExceptionpublic QueueBrowser createBrowser(Queue queue) throws JMSException
createBrowser in interface QueueSessioncreateBrowser in interface Sessionqueue - JMSExceptionpublic QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException
createBrowser in interface QueueSessioncreateBrowser in interface Sessionqueue - messageSelector - JMSExceptionpublic BytesMessage createBytesMessage() throws JMSException
createBytesMessage in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination) throws JMSException
createConsumer in interface Sessiondestination - JMSExceptionpublic MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException
createConsumer in interface Sessiondestination - messageSelector - JMSExceptionpublic MessageConsumer createConsumer(Destination destination, String messageSelector, boolean noLocal) throws JMSException
createConsumer in interface Sessiondestination - messageSelector - noLocal - JMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException
createDurableSubscriber in interface Sessiontopic - name - JMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException
createDurableSubscriber in interface Sessiontopic - name - messageSelector - noLocal - JMSExceptionpublic MapMessage createMapMessage() throws JMSException
createMapMessage in interface SessionJMSExceptionpublic Message createMessage() throws JMSException
createMessage in interface SessionJMSExceptionpublic ObjectMessage createObjectMessage() throws JMSException
createObjectMessage in interface SessionJMSExceptionpublic ObjectMessage createObjectMessage(Serializable object) throws JMSException
createObjectMessage in interface Sessionobject - JMSExceptionpublic MessageProducer createProducer(Destination destination) throws JMSException
createProducer in interface Sessiondestination - JMSExceptionpublic Queue createQueue(String queueName) throws JMSException
createQueue in interface QueueSessioncreateQueue in interface SessionqueueName - JMSExceptionpublic QueueReceiver createReceiver(Queue queue) throws JMSException
createReceiver in interface QueueSessionqueue - JMSExceptionpublic QueueReceiver createReceiver(Queue queue, String messageSelector) throws JMSException
createReceiver in interface QueueSessionqueue - messageSelector - JMSExceptionpublic QueueSender createSender(Queue queue) throws JMSException
createSender in interface QueueSessionqueue - JMSExceptionpublic StreamMessage createStreamMessage() throws JMSException
createStreamMessage in interface SessionJMSExceptionpublic TemporaryQueue createTemporaryQueue() throws JMSException
createTemporaryQueue in interface QueueSessioncreateTemporaryQueue in interface SessionJMSExceptionpublic TemporaryTopic createTemporaryTopic() throws JMSException
createTemporaryTopic in interface SessionJMSExceptionpublic TextMessage createTextMessage() throws JMSException
createTextMessage in interface SessionJMSExceptionpublic TextMessage createTextMessage(String text) throws JMSException
createTextMessage in interface Sessiontext - JMSExceptionpublic Topic createTopic(String topicName) throws JMSException
createTopic in interface SessiontopicName - JMSExceptionpublic int getAcknowledgeMode() throws JMSException
getAcknowledgeMode in interface SessionJMSExceptionpublic MessageListener getMessageListener() throws JMSException
getMessageListener in interface SessionJMSExceptionpublic boolean getTransacted() throws JMSException
getTransacted in interface SessionJMSExceptionpublic void recover() throws JMSException
recover in interface SessionJMSExceptionpublic void rollback() throws JMSException
rollback in interface SessionJMSExceptionpublic void run()
public void setMessageListener(MessageListener listener) throws JMSException
setMessageListener in interface Sessionlistener - JMSExceptionpublic void unsubscribe(String name) throws JMSException
unsubscribe in interface Sessionname - JMSExceptionpublic QueueSession getNext()
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.