| Package | Description | 
|---|---|
| javax.jms | 
The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages. | 
| Modifier and Type | Method and Description | 
|---|---|
| TopicSubscriber | TopicSession. 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 | Session. 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 | TopicSession. 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
  noLocalparameter, and creates a consumer on that durable
 subscription. | 
| TopicSubscriber | Session. 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
  noLocalparameter, and creates a consumer on that durable
 subscription. | 
| TopicSubscriber | TopicSession. createSubscriber(Topic topic)Creates a nondurable subscriber to the specified topic. | 
| TopicSubscriber | TopicSession. 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. | 
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.