Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If a MessageProducer is created against a Queue object on a generic Session on an 0-8/0-9/0-9-1 connection using Binding URLs and used to send to a queue which does not actually exist on the broker, the client is not currently able to convey this (except via an asynchronous '312: No route' exception on the ExceptionListener). If however a QueueSender is created on a QueueSession and then used to call send() then the existence of the queue on the broker is validated during the send method the first time each Queue object is encountered. The option should be added to do the same for Queue destinations on generic Sessions using MessageProducers.