Function
Receive a message (synchronous, limited blocking).
tibems_status
tibemsMsgConsumer_ReceiveTimeout(tibemsMsgConsumer
msgConsumer,tibemsMsg
* message,tibems_long
timeout );
CALL "tibemsMsgConsumer_ReceiveTimeout" USING BY VALUE msgConsumer, BY REFERENCE message, BY VALUE timeout, RETURNING tibems-status END-CALL.
This function consumes the next message from the consumer’s destination.
When the destination does not have any messages ready, this function blocks:
TIBEMS_TIMEOUT
.TIBEMS_NOT_FOUND
.When calling receive within a transaction, the consumer retains the message until transaction commits.
TIBCO Enterprise Message Service™ C and COBOL Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |