Clients -
jms :
QueueSender
JMS QueueSender Endpoint
Constructor
__init
(Session | SenderEndpointConfiguration c, string? queueName)
- c Session | SenderEndpointConfiguration
-
The JMS Session object or Configurations related to the receiver
- queueName string? ()
-
Name of the target queue
Remote Methods
send
Sends a message to the JMS provider
sendTo
Sends a message to a given destination of the JMS provider
Fields
- session Session
-
Session of the queue sender
Sends a message to the JMS provider
Parameters
- message Message
-
Message to be sent to the JMS provider
-
Return Type
(error?) Error if unable to send the message to the queue
Sends a message to a given destination of the JMS provider
Parameters
- destination Destination
-
Destination used for the message sender
- message Message
-
Message to be sent to the JMS provider
-
Return Type
(error?) Error if sending to the given destination fails