Example usage for Java javax.jms TopicSession fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes the session. |
MessageConsumer | createConsumer(Destination destination) Creates a MessageConsumer for the specified destination. |
TopicSubscriber | createDurableSubscriber(Topic topic, String name) Creates an unshared durable subscription on the specified topic (if one does not already exist) and creates a consumer on that durable subscription. |
TopicSubscriber | createDurableSubscriber(Topic topic, String name, String messageSelector, boolean noLocal) Creates an unshared durable subscription on the specified topic (if one does not already exist), specifying a message selector and the noLocal parameter, and creates a consumer on that durable subscription. |
MapMessage | createMapMessage() Creates a MapMessage object. |
ObjectMessage | createObjectMessage(Serializable object) Creates an initialized ObjectMessage object. |
MessageProducer | createProducer(Destination destination) Creates a MessageProducer to send messages to the specified destination. |
TopicPublisher | createPublisher(Topic topic) Creates a publisher for the specified topic. |
TopicSubscriber | createSubscriber(Topic topic, String messageSelector, boolean noLocal) Creates a nondurable subscriber to the specified topic, using a message selector or specifying whether messages published by its own connection should be delivered to it. |
TopicSubscriber | createSubscriber(Topic topic) Creates a nondurable subscriber to the specified topic. |
TextMessage | createTextMessage(String text) Creates an initialized TextMessage object. |
TextMessage | createTextMessage() Creates a TextMessage object. |
Topic | createTopic(String topicName) Creates a topic identity given a Topic name. |
void | unsubscribe(String name) Unsubscribes a durable subscription that has been created by a client. |