activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbrown3 <>
Subject Catching Exceptions in Embedded ActiveMQ
Date Mon, 21 Jul 2008 19:24:19 GMT


   I am running an application that has an embedded ActiveMQ broker. I am
noticing that whenever something fails in the broker, ActiveMQ throws an
exception which I cannot seem to catch.

   I have tried a number of things to catch exceptions thrown by ActiveMQ,
including putting the entire embedded startup code into a try- catch block.
Nothing seems to work. 

   I might want my application to perform some special action or even to
(perhaps) shut down gracefully when ActiveMQ throws an exception.
Unfortunately, these exceptions seem to occur somewhere where I cannot get
at them.

   Is there a way from within an application to catch an exception thrown by
an embedded ActiveMQ broker??? I really need to know how to do this.

   Thank you.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message