Example usage for Java javax.jms QueueSession fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the session. |
void | commit() Commits all messages done in this transaction and releases any locks currently held. |
QueueBrowser | createBrowser(Queue queue) Creates a QueueBrowser object to peek at the messages on the specified queue. |
QueueBrowser | createBrowser(Queue queue, String messageSelector) Creates a QueueBrowser object to peek at the messages on the specified queue using a message selector. |
MessageConsumer | createConsumer(Destination destination, java.lang.String messageSelector) Creates a MessageConsumer for the specified destination, using a message selector. |
Message | createMessage() Creates a Message object. |
ObjectMessage | createObjectMessage(Serializable object) Creates an initialized ObjectMessage object. |
MessageProducer | createProducer(Destination destination) Creates a MessageProducer to send messages to the specified destination. |
Queue | createQueue(String queueName) Creates a queue identity given a Queue name. |
QueueReceiver | createReceiver(Queue queue) Creates a QueueReceiver object to receive messages from the specified queue. |
QueueReceiver | createReceiver(Queue queue, String messageSelector) Creates a QueueReceiver object to receive messages from the specified queue using a message selector. |
QueueSender | createSender(Queue queue) Creates a QueueSender object to send messages to the specified queue. |
TextMessage | createTextMessage() Creates a TextMessage object. |
TextMessage | createTextMessage(String text) Creates an initialized TextMessage object. |
String | toString() Returns a string representation of the object. |