[TIBCO.EMS.UFOCLIENT .NET client library 8.1 documentation]
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Receives the next message if one is immediately available.
Namespace:
TIBCO.EMS.UFOAssembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Syntax
public Message ReceiveNoWait() |
Public Function ReceiveNoWait As Message |
public: Message^ ReceiveNoWait() |
Return Value
the next message produced for this message consumer, or null if one is not available
Remarks
This method receives a message synchronously without blocking.
When the destination has at least one message ready, this method immediately returns the next message. When the destination does not have any messages ready, this method immediately returns null. When calling receive within a transaction, the consumer retains the message until transaction commits.