Progress
External Program
Interfaces


publish

In Session Objects

This procedure publishes a message to topicName. If the publication is in reply to a received message, topicName can be the replyTo field obtained from the original message:

SYNTAX
PROCEDURE publish. 
DEFINE INPUT PARAMETER topicName AS CHAR.  
DEFINE INPUT PARAMETER message AS HANDLE.  
DEFINE INPUT PARAMETER priority AS INT.            /*Session default is 
                                                     used if UNKNOWN.*/ 
DEFINE INPUT PARAMETER timeToLive AS DECIMAL.      /*Session default is 
                                                     used if UNKNOWN.*/ 
DEFINE INPUT PARAMETER deliveryMode AS CHAR.       /*Session default is 
                                                     used if UNKNOWN.*/ 

NOTE: This procedure executes remotely (sends a message to the SonicMQ Adapter).

For information on this procedure in context, see the "Publishing To a Topic" section in Accessing SonicMQ Messaging From the Progress 4GL."


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