--
--
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
---
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/27440b8e-fbad-401a-8577-f522aec0c48bn%40googlegroups.com.
Define your channel deploys [channel1…channelN] with IP:port.
Define a mux for each channel [mux1…muxN]
Define a muxpool and configure it with your muxes
<mux class="org.jpos.q2.iso.MUXPool" logger="Q2" name="my-muxpool">
<muxes>mux1 mux2 .... muxN</muxes>
<strategy>round-robin</strategy>
</mux>
strategy can be one of the following
https://github.com/jpos/jPOS/blob/master/jpos/src/main/java/org/jpos/q2/iso/MUXPool.java#L222-L229
Now get the muxpool from the nameregistrar as you would do for the mux QMux.getMux(“my-muxpool”).
Use the muxpool to send the request (Qmux and Muxpool both implement Mux).. It will send it based on the strategy configured.
-chhil