开发者

java: Using a remote JMS provider

开发者 https://www.devze.com 2023-02-19 01:31 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消