tibemsMsgCallback


Type

Purpose

Asynchronously process an arriving message.

C Declaration

typedef void (*tibemsMsgCallback) ( 
    tibemsMsgConsumer msgConsumer, 
    tibemsMsg msg, 
    void* closure ); 

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.

Parameter
Description
msgConsumer
This parameter receives the consumer object.
msg
This parameter receives the message object.
closure
This parameter receives the closure argument, which your program registered on the consumer.

Serialization

In compliance with the JMS specification, sessions distribute messages to consumers in serial (non-concurrent) fashion.

See Also

tibemsMsgConsumer


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com