Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : setApplicationContext procedure
 

setApplicationContext procedure

Passes context to the message handler.

Syntax

PROCEDURE setApplicationContext.
DEFINE INPUT PARAMETER handler AS HANDLE.

Applies to

Message Consumer objects

Notes

*The handler parameter is typically a handle to a persistent procedure implemented by the application.
*When the message handler is called, it gets that handler and uses it, for example, to deposit error information in the application's context by calling a specific handler's internal procedure.

See also

setApplicationContextprocedure, getApplicationContextfunction
For more information, see the Accessing message handler information and the Creating a message handler process.