Example usage for Java javax.jms XASession fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the session. |
MessageProducer | createProducer(Destination destination) Creates a MessageProducer to send messages to the specified destination. |
Queue | createQueue(String queueName) Creates a Queue object which encapsulates a specified provider-specific queue name. |
TextMessage | createTextMessage(String text) Creates an initialized TextMessage object. |
Class> | getClass() Returns the runtime class of this Object . |
Session | getSession() Gets the session associated with this XASession . |
XAResource | getXAResource() Returns an XA resource to the caller. |
void | setMessageListener(MessageListener listener) Sets the session's distinguished message listener (optional). |