Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : JMS-MAXIMUM-MESSAGES global variable
 

JMS-MAXIMUM-MESSAGES global variable

Changes the maximum number of JMS messages in an OpenEdge session.

Syntax

DEFINE NEW GLOBAL SHARED VAR JMS-MAXIMUM-MESSAGES AS INTEGER INIT new-val.

Notes

*The total number of messages includes messages created by the application and messages received from JMS.
*The default is 50.
*If you exceed the message limit, an error is returned.
*To change the default to new–val, the variable definition must be included in the main procedure of the OpenEdge application.

See also

For information on this global variable in context, see the Setting the maximum number of messages.