sendToQueue procedure
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
sendToQueue procedure
Sends a message to a queue.
Syntax
|
Parameters
- queueName
- The queue to which the message is sent.
- message
- The Message object.
- priority
- The message priority (optional): 0–9. If
Unknown value (?), the session default is used. - timeToLive
- Time to live, in milliseconds (optional). If
Unknown value (?), the session default is used. - deliveryMode
- The delivery mode (optional):
PERSISTENT,NON_PERSISTENT,NON_PERSISTENT_ASYNC, orUNKNOWN(?). IfUnknown value (?), the session default is used.
Applies to
Session objects
Notes
- If
the sending is in reply to a received message, queueName can
be the
ReplyTofield obtained from the original message. - This procedure executes remotely on the Progress OpenEdge JMS Adapter.
See also
browseQueue procedure, receiveFromQueue procedure, sendToQueue procedure
For more information, see theSending messages to a queue, the Receiving messages from a queue, and the Methods unique to Point-to-Point messaging.
For an example, see the PTP message example.