public interface Session
extends java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_ACKNOWLEDGE |
static int |
CLIENT_ACKNOWLEDGE |
static int |
DUPS_OK_ACKNOWLEDGE |
static int |
SESSION_TRANSACTED |
static final int AUTO_ACKNOWLEDGE
static final int CLIENT_ACKNOWLEDGE
static final int DUPS_OK_ACKNOWLEDGE
static final int SESSION_TRANSACTED
BytesMessage createBytesMessage() throws JMSException
JMSExceptionMapMessage createMapMessage() throws JMSException
JMSExceptionMessage createMessage() throws JMSException
JMSExceptionObjectMessage createObjectMessage() throws JMSException
JMSExceptionObjectMessage createObjectMessage(java.io.Serializable object) throws JMSException
JMSExceptionStreamMessage createStreamMessage() throws JMSException
JMSExceptionTextMessage createTextMessage() throws JMSException
JMSExceptionTextMessage createTextMessage(java.lang.String text) throws JMSException
JMSExceptionboolean getTransacted()
throws JMSException
JMSExceptionint getAcknowledgeMode()
throws JMSException
JMSExceptionvoid commit()
throws JMSException
JMSExceptionvoid rollback()
throws JMSException
JMSExceptionvoid close()
throws JMSException
JMSExceptionvoid recover()
throws JMSException
JMSExceptionMessageListener getMessageListener() throws JMSException
JMSExceptionvoid setMessageListener(MessageListener listener) throws JMSException
JMSExceptionvoid run()
run in interface java.lang.RunnableMessageProducer createProducer(Destination destination) throws JMSException
JMSExceptionMessageConsumer createConsumer(Destination destination) throws JMSException
JMSExceptionMessageConsumer createConsumer(Destination destination, java.lang.String messageSelector) throws JMSException
JMSExceptionMessageConsumer createConsumer(Destination destination, java.lang.String messageSelector, boolean NoLocal) throws JMSException
JMSExceptionQueue createQueue(java.lang.String queueName) throws JMSException
JMSExceptionTopic createTopic(java.lang.String topicName) throws JMSException
JMSExceptionTopicSubscriber createDurableSubscriber(Topic topic, java.lang.String name) throws JMSException
JMSExceptionTopicSubscriber createDurableSubscriber(Topic topic, java.lang.String name, java.lang.String messageSelector, boolean noLocal) throws JMSException
JMSExceptionQueueBrowser createBrowser(Queue queue) throws JMSException
JMSExceptionQueueBrowser createBrowser(Queue queue, java.lang.String messageSelector) throws JMSException
JMSExceptionTemporaryQueue createTemporaryQueue() throws JMSException
JMSExceptionTemporaryTopic createTemporaryTopic() throws JMSException
JMSExceptionvoid unsubscribe(java.lang.String name)
throws JMSException
JMSException