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


Chapter 4 Consumer : tibemsMsgConsumer : tibemsMsgConsumer_ReceiveNoWait

tibemsMsgConsumer_ReceiveNoWait
Function
Purpose
Receive a message (synchronous, non-blocking).
C Declaration
tibems_status tibemsMsgConsumer_ReceiveNoWait(
    tibemsMsgConsumer msgConsumer,
    tibemsMsg* message);
COBOL Call
CALL "tibemsMsgConsumer_ReceiveNoWait"
USING BY VALUE msgConsumer,
BY REFERENCE message,
RETURNING tibems-status
END-CALL.
 
msgConsumer and message have usage pointer.
Parameters
 
Remarks
When the destination has at least one message ready, this function immediately returns the next message.
When the destination does not have any messages ready, this function immediately returns TIBEMS_NOT_FOUND.
 
When calling receiving within a transaction, the consumer retains the message until transaction commits.
See Also
tibemsMsgConsumer_Receive on page 168
tibemsMsgConsumer_ReceiveTimeout on page 170
 

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