Send messages to a queue
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
In the PTP domain, applications send messages to a queue. To send a message to a queue with Java–JMS, an application obtains a handle to a queue object, creates a Queue Sender object, and uses the queue sender to send messages. Sending a message to a queue with the ABL–JMS API involves these general steps:
- The application calls the sendToQueue procedure in
the ptpsession.p or
jmssession.pobject. - The application specifies the queue name as an
INPUTparameter of typeCHARACTER.
The application can set other sending parameters (such as persistency, timeToLive,
and priority) in the Session object as a default
for all the messages it sends, or it can set these parameters at
each sendToQueue procedure call.