I have a tomcat web application. It uses a couple of remote modules. One of the modules publishes some messages (about it states) in开发者_如何学运维to queue. I need to read it. how can I do it? As far as I know I need realization of IninialContext to obtain remote queue by name, right? Haven't found any useful materials on the net.
On this link on activemq site: http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html take a look at class Server
and Client
for help in writing JMS Consumer
and Producer
.
精彩评论