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

createMessageConsumer procedure

Creates a new Message Consumer object.

Syntax

PROCEDURE createMessageConsumer.
DEFINE INPUT PARAMETER procHandle AS HANDLE.
DEFINE INPUT PARAMETER procName AS CHARACTER.
DEFINE OUTPUT PARAMETER consumerHandle AS HANDLE.

Parameters

procHandle
The handle to a procedure procName.
procName
The name of an internal procedure for handling messages.
consumerHandle
The new Message Consumer object.

Applies to

Session objects

Notes

The application must pass the name of an internal procedure for handling messages and the handle to the internal procedure to createMessageConsumer procedure.

See also

createMessageConsumer procedure, deleteConsumer procedure, messageHandler procedure, waitForMessages procedure
For more information see the Message Consumer objects, the Consuming messages, the Terminating the Message Consumer object, and the Creating a message handler process.