Consumer : tibemsMsgCallback

tibemsMsgCallback
Type
Purpose
Asynchronously process an arriving message.
C Declaration
typedef void (*tibemsMsgCallback) (
    tibemsMsgConsumer msgConsumer,
    tibemsMsg msg,
    void* closure );
Parameters
 
Remarks
To asynchronous receive messages, your program can define callback functions of this type, and register them with a consumer (using tibemsMsgConsumer_SetMsgListener or a related function). When a message arrives, the consumer calls its callback.
Serialization
In compliance with the JMS specification, sessions distribute messages to consumers in serial (non-concurrent) fashion.
See Also
tibemsMsgConsumer on page 162