PTP messaging allows you to produce a message to be consumed by one receiver. The receiver can specify how many messages to consume at a time, and define a threshold specifying when to consume messages. Also, the receiver can look at the contents of messages on a queue without consuming the messages. Undelivered messages remain on a queue even when there are no receivers. The messages are removed from the queue according to the message's time-to-live.
The following general steps outline how to exchange messages from an OpenEdge application to a SonicMQ Broker for a PTP session:
Note: PTP messaging requires a queue.
1. Create a session procedure and connect to a SonicMQ Broker.