Clients -
jms :
QueueReceiverCaller
The Caller actions related to queue receiver endpoint.
Remote Methods
acknowledge
Acknowledges a received message.
receive
Synchronously receives a message from the JMS provider.
receiveFrom
Synchronously receives a message from a given destination.
Fields
- queueListener QueueListener? ()
-
the QueueListener
Acknowledges a received message.
Parameters
- message Message
-
The JMS message to be acknowledged.
-
Return Type
(error?) Returns an error upon failure to acknowledge the received message.
Synchronously receives a message from the JMS provider.
Parameters
- timeoutInMilliSeconds int - 0
-
Time to wait until a message is received.
Synchronously receives a message from a given destination.
Parameters
- destination Destination
-
Destination to subscribe to.
- timeoutInMilliSeconds int - 0
-
Time to wait until a message is received.