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


Chapter 4 Consumer : tibemsMsgConsumer : tibemsMsgConsumer_ReceiveTimeout

tibemsMsgConsumer_ReceiveTimeout
Function
Purpose
Receive a message (synchronous, blocks up to a time limit).
C Declaration
tibems_status tibemsMsgConsumer_ReceiveTimeout(
    tibemsMsgConsumer msgConsumer,
    tibemsMsg* message,
    tibems_long timeout );
COBOL Call
CALL "tibemsMsgConsumer_ReceiveTimeout"
USING BY VALUE msgConsumer,
BY REFERENCE message,
BY VALUE timeout,
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 receive within a transaction, the consumer retains the message until transaction commits.
See Also
tibemsMsgConsumer_Receive on page 170
tibemsMsgConsumer_ReceiveNoWait on page 171

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