tibemsMsgConsumer

Type

Purpose

Consume messages from a destination.

Remarks

Consumers can receive messages synchronously (using the receive functions), or asynchronously.

Consumers can receive messages asynchronously using callback functions.

Clients create message consumers using functions of a tibemsSession object.

Function Description
tibemsMsgConsumer_Close Close a message consumer and releases associated storage.
tibemsMsgConsumer_GetDestination Get the destination from a message consumer.
tibemsMsgConsumer_GetMsgListener Get the message callback and closure data from a consumer.
tibemsMsgConsumer_GetMsgSelector Get the message selector from a consumer.
tibemsMsgConsumer_GetNoLocal Get the no local property of a message consumer.
tibemsMsgConsumer_Receive Receive a message (synchronous).
tibemsMsgConsumer_ReceiveNoWait Receive a message (synchronous, non-blocking).
tibemsMsgConsumer_ReceiveTimeout Receive a message (synchronous, blocks up to a time limit).
tibemsMsgConsumer_SetMsgListener Set the message callback and closure data of a consumer.