Progress
External Program
Interfaces


setDefaultPersistency

In Session Objects

This procedure sets the default message persistency value for all messages sent in that session. The values are: PERSISTENT, NON_PERSISTENT, NON_PERSISTENT_ASYNC, DISCARDABLE (which applies only when publishing to a topic), and UNKNOWN (?). The default value is PERSISTENT. The evaluation is case insensitive. A call with an UNKNOWN value has no effect. NON_PERSISTENT_ASYNC is a SonicMQ extension of the JMS specification.

If DISCARDABLE is used when publishing other than to a topic, an error is raised:

SYNTAX
PROCEDURE setDefaultPersistency.  
DEFINE INPUT PARAMETER deliveryMode AS CHAR. 

For information on this procedure in context, see the "Setting Message Delivery Parameters" 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