Receive a message synchronously from the specified destination, but only wait up to a specified time for delivery. Convert the message into an object with a configured IMessageConverter.
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 NotOverridable Overloads Sub ReceiveAndConvert( _
ReceiveAndConvert( string destinationName
- the name of the destination to send this message to (to be resolved to an actual destination by a DestinationResolver)
the message produced for the consumer or
if the timeout expires.
NmsTemplate Class | Spring.Messaging.Nms.Core Namespace | NmsTemplate.ReceiveAndConvert Overload List