| MessageConsumer | Session. createConsumer(Destination destination) | Creates a MessageConsumerfor the specified destination. | 
| MessageConsumer | Session. createConsumer(Destination destination,
              String messageSelector) | Creates a MessageConsumerfor the specified destination, using a message selector. | 
| MessageConsumer | Session. createConsumer(Destination destination,
              String messageSelector,
              boolean noLocal) | Creates a MessageConsumerfor the specified destination, specifying a message selector and thenoLocalparameter. | 
| MessageConsumer | Session. createDurableConsumer(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. | 
| MessageConsumer | Session. createDurableConsumer(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. | 
| MessageConsumer | Session. createSharedConsumer(Topic topic,
                    String sharedSubscriptionName) | Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already
 exist) and creates a consumer on that subscription. | 
| MessageConsumer | Session. createSharedConsumer(Topic topic,
                    String sharedSubscriptionName,
                    String messageSelector) | Creates a shared non-durable subscription with the specified name on the specified topic (if one does not already
 exist) specifying a message selector, and creates a consumer on that subscription. | 
| MessageConsumer | Session. createSharedDurableConsumer(Topic topic,
                           String name) | Creates a shared 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. | 
| MessageConsumer | Session. createSharedDurableConsumer(Topic topic,
                           String name,
                           String messageSelector) | Creates a shared durable subscription on the specified topic (if one does not already exist), specifying a message
 selector, and creates a consumer on that durable subscription. |