You can use the clientsimulator and serversimulator modules in jPOS,
just place them in the 'modules' directory, no need for jPOS-EE.
No replies, but ...
> how do we collectively embed QMUX,channel,packager ..?
> Should we have two different configuration files, one for the QMUX
> and
> one for the ChannelAdaptor ?
> If yes,then how would they be linked and how to use them in the code?
Quick/rough answer :- the method varies with the environment.
May I suggest we address your first problem - not be able to download
jpos-ee? At least then you can use jpos-ee and things should be easier.
So...
You are using TortoiseSVN on windows, yes?
Do you have a proxy server between you and the internet? If you are
unsure, perhaps examine the proxy settings in the browser you use, or
ask your friendly network administrator or security department - I am
assuming you might be at work.
Could it be your proxy server that wants authentication?
--
Mark
Look at the QmuxTestCase to get
https://github.com/jpos/jPOS/blob/master/jpos/src/test/java/org/jpos/q2/iso/QMUXTestCase.java
The gist is write a class that implements ISOResponseListener lets call it MyResponseListener.
See https://github.com/jpos/jPOS/blob/master/jpos/src/main/java/org/jpos/iso/ISOResponseListener.java for methods that you will implement.
Get the Qmux from the registrar
QMUX qmux = (QMUX) NameRegistrar.getIfExists(muxName);
muxName is the name of the qmux bean that was deployed. If you deployed a qmux with a name “myMux” , to get it from the nameregistrar you would use (QMUX) NameRegistrar.getIfExists(“mux.myMux”);
alternatively you could use
QMUX.getMux(“myMux”);
Setup helper objects.
MyResponseListener respListener= new MyResponseListener();
SomeJavaObject xyz = new SomeJavaObject();
This SomeJavaObject could be anything, that you may need for correlating data or a Context or …
Now send the request using the mux.
qmux.request(createISOMsg(), timeToWaitForResponse, respListener , xyz);
When a response is received , jpos qmux will call your
respListener.responseReceived(response, handBack) method that you implemented. Do what you must with the response.
If a response is not received in the timeout period , your objects expired method will get called.
-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/37e5f088-afad-401d-b83c-52089d7025f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1. what all prerequisites required for a standalone QMUX ISO Client development.Normal JDK and Jpos Jars only enough?
2. If you can , Please explain step by step wat on all things required like xml configuration , qmux bean (Is it separtate class that i should define.If so , wats its functionality.