[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Remote replyto functionality - Bridge configuration in pairs
thomasra
do-not-reply at jboss.com
Thu Jun 7 05:29:10 EDT 2007
Continuing discussion from http://www.jboss.org/index.html?module=bb&op=viewtopic&t=110293...
It is common to want to bridge new and existing messaging systems (JBM Bridge makes this easy) but replies and correlation are a bit more difficult.
If the Bridge were to be configured as an in/out pair instead of just being in one direction, the outbound route could:
* see that a JBM message has a replyto destination set (which indicates a reply is wanted at that destination)
* create a remote temp destination
* send the message to the remote provider using the remote temp destination as the replyto destination
...then the inbound route could share this information and listen to remote temp destinations knowing which inbound message is a reply to an outbound message.
If the idea of temp destinations doesn't work, we could still keep the state of the messageid's from JBM and the remote provider so that correlation could be done on the JBM side, but again, this would probably be much easier if the Bridge was two-way.
Any thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052021#4052021
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4052021
More information about the jboss-dev-forums
mailing list