MUX mux = (MUX) NameRegistrar.get("mux.mymux");
....................................
public boolean process(ISOSource isosource, ISOMsg isomsg) {
ISOMsg response = mux.request(isomsg, InitializeConfig.getMuxTimeOut() * 1000);
if (response != null)
isosource.send(response);
}<?xml version="1.0" encoding="UTF-8"?>
<mux class="org.jpos.q2.iso.QMUX" logger="Q2" name="mymux">
<in>switch-receive</in>
<out>switch-send</out>
</mux><channel-adaptor name="access-channel-adaptor"
class="org.jpos.q2.iso.ChannelAdaptor" logger="Q2">
<channel class="org.jpos.iso.channel.PostChannel" logger="Q2"
packager="org.jpos.iso.packager.GenericPackager">
<property name="host" value="switch-host" />
<property name="port" value="1010" />
<property name="packager-config" value="cfg/packager/switchpostilion.xml" />
</channel>
<in>switch-send</in>
<out>switch-receive</out>
<reconnect-delay>30000</reconnect-delay>
<space>tspace:default</space>
</channel-adaptor>The challenge I have is that the transactions from different terminals reach the switch on the same connection but the switch expects each terminal to bind with its own connection thread.
--
--
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/CAAgSK%3DnUs4wPB9SU29AT%2BGnK72ojb%2BqyQJDg_ZxwHHB6jDfr8Q%40mail.gmail.com.
--
--
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/cebe4ecf-4622-4181-81af-b69e123de426%40googlegroups.com.
--
--
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/4d32715f-5af3-4989-adc4-57e9a59f1d84%40googlegroups.com.
<?xml version="1.0" encoding="UTF-8"?><channel-adaptor name="access-channel-adaptor" class="org.jpos.q2.iso.OneShotChannelAdaptor" logger="Q2">org.jpos.iso.packagers.PackagerTestCase > testXMLPackager FAILED
junit.framework.AssertionFailedError at PackagerTestCase.java:214
> Building 67% > :jpos:test > 3163 tests completed, 1 failed, 54 skipped--
--
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/038afdd6-65f0-4814-8283-6b7e36afa9a6%40googlegroups.com.