Object -
jms :
Session
Represents the JMS session.
Constructor
__init
(Connection connection, SessionConfiguration c)
- connection Connection
Methods
Creates a JMS message, which holds the text content.
Creates a JMS message, which holds the Map content.
Unsubscribes a durable subscription that has been created by a client. It is erroneous for a client to delete a durable subscription while there is an active (not closed) consumer for the subscription, or while a consumed message being part of a pending transaction or has not been acknowledged in the session.
Creates a JMS Queue, which can be used as temporary response destination.
Creates a JMS Topic, which can be used as a temporary response destination.
Creates a JMS Queue, which can be used with a message producer.
Creates a JMS Topic, which can be used with a message producer.
Creates a JMS message, which holds the text content.
Parameters
- content string
-
The text content that is used to initialize the message.
Creates a JMS message, which holds the Map content.
Parameters
- content map
-
The Map content that is used to initialize the message.
Unsubscribes a durable subscription that has been created by a client. It is erroneous for a client to delete a durable subscription while there is an active (not closed) consumer for the subscription, or while a consumed message being part of a pending transaction or has not been acknowledged in the session.
Parameters
- subscriptionId string
-
The name, which is used to identify the subscription.
-
Return Type
(error?) Cancels the subscription.
Creates a JMS Queue, which can be used as temporary response destination.
-
Return Type
(Destination | error) Returns the JMS destination for a temporary queue or an error if it fails.
Creates a JMS Topic, which can be used as a temporary response destination.
-
Return Type
(Destination | error) Returns the JMS destination for a temporary topic or an error if it fails.
Creates a JMS Queue, which can be used with a message producer.
Parameters
- queueName string
-
The name of the Queue.
-
Return Type
(Destination | error) Returns the JMS destination for a queue or an error if it fails.
Creates a JMS Topic, which can be used with a message producer.
Parameters
- topicName string
-
The name of the Topic.
-
Return Type
(Destination | error) Returns the JMS destination for a topic or an error if it fails.