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 SessionJMSExceptionpublic QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException
createBrowser in interface QueueSessioncreateBrowser in interface SessionJMSExceptionpublic BytesMessage createBytesMessage() throws JMSException
createBytesMessage in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination) throws JMSException
createConsumer in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException
createConsumer in interface SessionJMSExceptionpublic MessageConsumer createConsumer(Destination destination, String messageSelector, boolean noLocal) throws JMSException
createConsumer in interface SessionJMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException
createDurableSubscriber in interface SessionJMSExceptionpublic TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException
createDurableSubscriber in interface SessionJMSExceptionpublic 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 SessionJMSExceptionpublic MessageProducer createProducer(Destination destination) throws JMSException
createProducer in interface SessionJMSExceptionpublic Queue createQueue(String queueName) throws JMSException
createQueue in interface QueueSessioncreateQueue in interface SessionJMSExceptionpublic QueueReceiver createReceiver(Queue queue) throws JMSException
createReceiver in interface QueueSessionJMSExceptionpublic QueueReceiver createReceiver(Queue queue, String messageSelector) throws JMSException
createReceiver in interface QueueSessionJMSExceptionpublic QueueSender createSender(Queue queue) throws JMSException
createSender in interface QueueSessionJMSExceptionpublic 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 SessionJMSExceptionpublic Topic createTopic(String topicName) throws JMSException
createTopic in interface SessionJMSExceptionpublic 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 SessionJMSExceptionpublic void unsubscribe(String name) throws JMSException
unsubscribe in interface SessionJMSExceptionpublic QueueSession getNext()
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.