The way I see it, your intermediary box has to be a server for clients A and B and has be a clients for Servers A and B.
Now consider your intermediary box that connects to servers A and B.
You will have a mux associated with each if the channels connecting to server A and server B, let's call them muxA and muxB. These names are configured in each of mux deploy files.
Now you can determine which mux to use for sending a message based on content of received message.
You would query the name registrar by the mux name, get the object and use it to send the request.
-chhil
--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
Join us in IRC at http://webchat.freenode.net/?channels=jpos
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/d3ce8227-df11-4fab-b642-ca37513e26d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is another active thread that has a qmux deploy file sample. Please take a look.
Snippet from another thread.
5. Given below 20_xxx_mux.xml used
<mux class="org.jpos.q2.iso.QMUX" logger="Q2" name="mcpsmux">
<key>11</key>
<in>mcps-channel-receive</in>
<out>mcps-channel-send</out>
<ready>mcps-channel.ready</ready>
<unhandled>mcpsunhandledqueue</unhandled>
</mux>
You would have 2 of these wrapping the 2 channels in/out spaces.
-chhil
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/3bab0609-2ba2-4d40-a760-3f48f4b431fe%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "jPOS Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jpos-users/1_QM5Q9ezwo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jpos-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAPazefDGotLa2kEkqHq7GnZowd1epxw2xETJDTqYkhQVn0nd0w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAB9T6%3DEpwYUj7-ST%3DrNjd%2BO%3DMvo5vE1fU3d1_DAnQ3-40%3DbJjA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/CAPazefBmj9KuNT2xyiKDjzMY_pZvC6uSbZ96bP7Pa88JHwktbw%40mail.gmail.com.