![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibems_status tibemsMsgConsumer_ReceiveTimeout(tibemsMsgConsumer msgConsumer,tibemsMsg* message,tibems_long timeout );
msgConsumer and message have usage pointer.
When present, wait no longer than this interval (in milliseconds) for a message to arrive. Zero is a special value, which specifies no timeout (block indefinitely).This function consumes the next message from the consumer’s destination. When the destination does not have any messages ready, this function blocks:
• If a message arrives at the destination, this call immediately consumes that message and returns.When calling receive within a transaction, the consumer retains the message until transaction commits.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |