Receive a message synchronously from the default 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.
This will only work with a default destination specified!
Public NotOverridable Overloads Sub Receive() _
the message received by the consumer, or
if the timeout expires
NmsTemplate Class | Spring.Messaging.Nms.Core Namespace | NmsTemplate.Receive Overload List