HornetQ on Tomcat

≡放荡痞女 提交于 2019-12-03 12:56:11

Tomcat is the same as standalone, you just have Tomcat running in a JVM and all you need to do is put the proper classes in the classpath.

Everything here is in the manual

1) You need to have a HornetMQ server running.
2) Put the jar files in the Tomcat classpath. 3) Put the proper Queue Connection factories and Queue Connections into your JNDI provider.

You are now ready to run...

1) Get QCF and Q properties from JNDI. 2) Access in Servlet.

To Rajiv HornetQ can be integrated with Tomcat JNDI and can be used from from spring beans. Description here http://wash-inside-out.blogspot.com/2010/08/hornetq-jms-integration-with-tomcat.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!