Click or drag to resize

IFlowReceiveMsg Method

version: 10.23.0
Receives a message from a specified transacted Flow. It waits until a timeout or a message is received. No wait if timeout is zero. Applications must later call .Dispose() on the received message to release it.

Namespace:  SolaceSystems.Solclient.Messaging
Assembly:  SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.23.0
Syntax
C#
IMessage ReceiveMsg(
	int timeout
)

Parameters

timeout
Type: SystemInt32
Timeout in milliseconds, 0 means no wait.

Return Value

Type: IMessage
The received message is returned as a IMessage A null mussage is returned under these circumstances: The queue is empty and a timeout occured The queue is empty and the timeout was zero The flow is not a transacted flow
Exceptions
ExceptionCondition
OperationErrorException An OperationErrorException is thrown when this method fails. The exception will contain one of these return codes:
See Also