Related to - http://camel.465427.n5.nabble.com/NEWBIE-automatic-queues-creation-td5106080.html#a5106890
Thanks. Regards, Narita -----Original Message----- From: shindito [mailto:[email protected]] Sent: Thursday, February 23, 2012 9:23 PM To: [email protected] Subject: Routing from non existing JMS topics Hello all, As you know, ActiveMQ supports the following functionality: If a client subscribes to a topic that currently does not exists on the JMS provider, then this topic is automatically created and bound to the JMS provider. However, the JMS provider that we currently use, does not support this functionality. And here comes the problem - when I create a route from a topic that does not exist on the JMS provider, I expect to get a JMSException notifying about the non existing destination. Unfortunately, this does not happen. I've managed to configure the Camel context to inform me if the JMS provider is down by setting the "testConnectionOnStartup" property of the JMS component. It works just fine. But when I set this property and create a route from a topic that does not exist no exception is thrown. I've tried using try/catch blocks, onException and errorhandlers, but it does not work since no exchange is ever created and all these techniques are designed to handle errors that are thrown during the processing of messages. In my case, no message is ever sent. Is there anyway to catch these exceptions? Thanks for your help! Best regards, Atanas -- View this message in context: http://camel.465427.n5.nabble.com/Routing-from-non-existing-JMS-topics-tp5508426p5508426.html Sent from the Camel - Users mailing list archive at Nabble.com. ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.***
