Release 10.1A: OpenEdge Development:
Messaging and ESB

> ## Creating a message handler process

> A message handler process the incoming message from the Message Consumer. When an incoming JMS or error message is received, the message handler is called automatically so that the application can process the message. The 4GL programmer creates a message handler using the messageHandler procedure. The 4GL application passes context to the message handler using the setApplicationContext procedure.

> ##### Accessing message handler information

> Table 4–21 lists procedures for getting message handler properties and type of message being handled:

> Table 4–21: Methods for the message handler
> Getting message handler properties | Type of message handled
> --- | ---
> getApplicationContext function getDestinationName function getProcHandle function getProcName function getReplyAutoDelete function getReplyPersistency function getReplyPriority function getReplyTimeToLive function getSession function | inErrorHandling function inMessageHandling function inQueueBrowsing function inReplyHandling function

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