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!
@return the message received by the consumer, or null
if the timeout expires
@throws JmsException checked JMSException converted to unchecked
|
|