Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## Using PTP messaging

> 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 a 4GL application to a SonicMQ Broker for a PTP session:

> 1. Create a session procedure and connect to a SonicMQ Broker.

> 2. Send messages to a PTP queue.

> 3. Receive messages from a PTP queue.

> 4. Receive a reply.

> 5. Delete objects.

> Note: PTP messaging requires a queue.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095