Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## 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

> setApplicationContext procedure, getApplicationContext function

> For more information, see the "Accessing message handler information" section and the "Creating a message handler process" section.

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