Modifier and Type | Field and Description |
---|---|
protected Log |
logger |
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED
Constructor and Description |
---|
ReusableSessionWrapper(Session delegateSession) |
protected transient Log logger
public ReusableSessionWrapper(Session delegateSession)
public BytesMessage createBytesMessage() throws JMSException
createBytesMessage
in interface Session
JMSException
public MapMessage createMapMessage() throws JMSException
createMapMessage
in interface Session
JMSException
public Message createMessage() throws JMSException
createMessage
in interface Session
JMSException
public ObjectMessage createObjectMessage() throws JMSException
createObjectMessage
in interface Session
JMSException
public ObjectMessage createObjectMessage(Serializable object) throws JMSException
createObjectMessage
in interface Session
JMSException
public StreamMessage createStreamMessage() throws JMSException
createStreamMessage
in interface Session
JMSException
public TextMessage createTextMessage() throws JMSException
createTextMessage
in interface Session
JMSException
public TextMessage createTextMessage(String text) throws JMSException
createTextMessage
in interface Session
JMSException
public boolean getTransacted() throws JMSException
getTransacted
in interface Session
JMSException
public int getAcknowledgeMode() throws JMSException
getAcknowledgeMode
in interface Session
JMSException
public void commit() throws JMSException
commit
in interface Session
JMSException
public void rollback() throws JMSException
rollback
in interface Session
JMSException
public void close() throws JMSException
close
in interface Session
JMSException
public void recover() throws JMSException
recover
in interface Session
JMSException
public MessageListener getMessageListener() throws JMSException
getMessageListener
in interface Session
JMSException
public void setMessageListener(MessageListener listener) throws JMSException
setMessageListener
in interface Session
JMSException
public void run()
public MessageProducer createProducer(Destination destination) throws JMSException
createProducer
in interface Session
JMSException
public MessageConsumer createConsumer(Destination destination) throws JMSException
createConsumer
in interface Session
JMSException
public MessageConsumer createConsumer(Destination destination, String messageSelector) throws JMSException
createConsumer
in interface Session
JMSException
public MessageConsumer createConsumer(Destination destination, String messageSelector, boolean NoLocal) throws JMSException
createConsumer
in interface Session
JMSException
public Queue createQueue(String queueName) throws JMSException
createQueue
in interface Session
JMSException
public Topic createTopic(String topicName) throws JMSException
createTopic
in interface Session
JMSException
public TopicSubscriber createDurableSubscriber(Topic topic, String name) throws JMSException
createDurableSubscriber
in interface Session
JMSException
public TopicSubscriber createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) throws JMSException
createDurableSubscriber
in interface Session
JMSException
public QueueBrowser createBrowser(Queue queue) throws JMSException
createBrowser
in interface Session
JMSException
public QueueBrowser createBrowser(Queue queue, String messageSelector) throws JMSException
createBrowser
in interface Session
JMSException
public TemporaryQueue createTemporaryQueue() throws JMSException
createTemporaryQueue
in interface Session
JMSException
public TemporaryTopic createTemporaryTopic() throws JMSException
createTemporaryTopic
in interface Session
JMSException
public void unsubscribe(String name) throws JMSException
unsubscribe
in interface Session
JMSException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.