Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery.
This method should be used carefully, since it will block the thread until the message becomes available or until the timeout value is exceeded.
Public Sub ReceiveSelected( _
- the name of the destination to send this message to (to be resolved to an actual destination by a DestinationResolver)
- the EMS message selector expression (or
null if none). See the EMS specification for a detailed definition of selector expressions.
the message received by the consumer, or
if the timeout expires
|EMSException||If there is any problem accessing the EMS API|
IEmsOperations Interface | Spring.Messaging.Ems.Core Namespace | IEmsOperations.ReceiveSelected Overload List