Listener -
jms
: QueueListener
The Queue Receiver endpoint.
Constructor
__init
(Session | ReceiverEndpointConfiguration c, string? queueName, string messageSelector, string identifier)
- c Session | ReceiverEndpointConfiguration
-
The JMS Session object or configurations related to the receiver.
- queueName string? ()
-
Name of the queue.
- messageSelector string
-
The message selector for the queue.
- identifier string
-
The unique identifier for the receiver.
Methods
LifeCycle Methods
Fields
- consumerActions QueueReceiverCaller BLangTypeInit: new null ([])
-
Handles all the caller actions related to the QueueListener.
- session Session
-
Session of the queue receiver.
- messageSelector string
-
The message selector for the queue receiver.
- identifier string
-
Unique identifier for the reciever.
Methods
Retrieves the QueueReceiver.
-
Return Type
(QueueReceiverCaller) the QueueReceiver
LifeCycle Methods
Binds the queue receiver endpoint to a service.
-
Return Type
(error?) Returns nil or an error upon failure to register the listener.
Starts the endpoint.
-
Return Type
(error?) Returns nil or an error upon failure to start.