Clients - jms : QueueSender

JMS QueueSender Endpoint

Constructor

__init

(Session | SenderEndpointConfiguration c, string? queueName)

  • queueName string? ()
  • Name of the target queue

Remote Methods

Fields

  • session Session
  • Session of the queue sender

send

(Message message)

returns error?

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

sendTo

(Destination destination, Message message)

returns error?

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