Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Consumer : tibemsMsgConsumer : tibemsMsgConsumer_Receive

tibemsMsgConsumer_Receive
Function
Purpose
Receive a message (synchronous).
C Declaration
tibems_status tibemsMsgConsumer_Receive(
    tibemsMsgConsumer msgConsumer,
    tibemsMsg* message );
COBOL Call
CALL "tibemsMsgConsumer_Receive"
USING BY VALUE msgConsumer,
BY REFERENCE message,
RETURNING tibems-status
END-CALL.
 
msgConsumer and message have usage pointer.
Parameters
 
Remarks
This function consumes the next message from the consumer’s destination.
When the destination does not have any messages ready, this function blocks:
 
When calling tibemsMsgConsumer_Receive from a transaction, the consumer retains the message until transaction commits.
See Also
tibemsMsgConsumer_ReceiveNoWait on page 169
tibemsMsgConsumer_ReceiveTimeout on page 170

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved