activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cobrien <>
Subject Re: Debuging Activemq code
Date Thu, 01 Jul 2010 19:22:12 GMT

For debugging you have two options remote debugging and in proc debugging. 
1) enable remote debugging. Search for  ACTIVEMQ_DEBUG_OPTS in your activemq
start script and enable it. You may want to read up on remote debugging

2) For in proc debugging you will  want to start the broker from a java main
class.  There are several unit test cases that you can look at that show how
to do this-look under the test dirs. Basically you need to instantiate a
ConnectionFactory. Something like:

   ConnectionFactory connectionFactory = new

I wouldn't try deleting any directories. Many of them are are necessary  and
they are all quite interesting to browse. 
ActiveMQ reference guide at

codescoder wrote:
> Hi There,
> i have downloaded activemq latest code and mvn.after installing mvn plug
> in i am able to build the code in Eclipse also.when i import the code into
> Eclipse it generate many projects into workspace.
> i am confused from where start the code debugging.i hope it is
> Activemq-core. can i delete the other projects.what they are for.can you
> give me steps for debugging in Eclipse IDE.
> Thank you in advance.

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

View raw message