2013-07-09 73 views

回答

0

看到的ActiveMQ文档调试经纪人:http://activemq.apache.org/how-do-i-debug-activemq-from-my-ide.html

一种选择是在同一个JVM中的应用程序运行你的经纪人; 参见How to unit test JMS code。 或者您可以尝试在activemq启动脚本(bin/activemq或 bin \ activemq.bat)中取消注释 ACTIVEMQ_DEBUG_OPTS,然后在IDE中启动远程调试。 对于IDEA,请参阅此文章 http://www.javaranch.com/journal/200408/DebuggingServer-sideCode.html