If you have a queue called "responseQueue" deployed on each of your nodes, how
can JBoss Messaging possibly know which actual version of responseQueue on what node to
send the response to? JBM is not psychic ;)
It can't, you simply haven't given it enough information.
The proper way of implementing this pattern is to implement a temporary response queue
which will have a unique name across the cluster, then when you send a response to it from
any other node, JBM will unambiguously know where to route it, otherwise it has no idea
which node to route it to.
Alternatively you can create a response topic and consume responses with a selector
(response_id=X). Either way will work.
BTW There are tests in the test suite for this.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4244843#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...