What broker are you using?
On Wed, Jun 19, 2013 at 5:27 AM, Richa <rsinha2...@gmail.com> wrote: > The exception listener does not work because the exception is not thrown. I > checked the underlying classes in the jar. In the > DefaultMessageListenerContainer.java, there is method > refreshConnectionUntilSuccessful() which keeps on retrying to connect to > JMS. It has a try-catch block where the connection failed message is logged > and then it retries again. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JMS-retry-mechanism-tp5734328p5734351.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta