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 |
---|---|
JMSConsumer |
JMSContext.createConsumer(Destination destination)
Creates a
JMSConsumer for the specified destination. |
JMSConsumer |
JMSContext.createConsumer(Destination destination,
String messageSelector)
Creates a
JMSConsumer for the specified destination, using a
message selector. |
JMSConsumer |
JMSContext.createConsumer(Destination destination,
String messageSelector,
boolean noLocal)
Creates a
JMSConsumer for the specified destination,
specifying a message selector and the noLocal parameter. |
JMSConsumer |
JMSContext.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.
|
JMSConsumer |
JMSContext.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
noLocal parameter, and creates a consumer on that durable
subscription. |
JMSConsumer |
JMSContext.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.
|
JMSConsumer |
JMSContext.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.
|
JMSConsumer |
JMSContext.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 creates a consumer on that durable subscription.
|
JMSConsumer |
JMSContext.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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.