4 Apr 2006 11:52
4 Apr 2006 20:32
Re: overriding BASE1Header file
--- In jpos-dev@..., "suda_091" <suda_091 <at> ...> wrote: > The setFormat(1) method in BASE1Header file sets H03 as 1 but how can > i override this method from my java code and set my own required > number in H03. H03 is actually defaulted to the value 2. In the same way the constructor sets a value, you too can call the same method... BASE1Header bh = new Base1Header(); bh.setFormat(22); // Or whatever value you need. So in summary, you need not override anything, just use the public methods to change the values set at construction. -- Mark
4 Apr 2006 19:59
Re: overriding BASE1Header file
suda_091 wrote: > Hi, > > The setFormat(1) method in BASE1Header file sets H03 as 1 but how can > i override this method from my java code and set my own required > number in H03. H03 is actually defaulted to the value 2. In the same way the constructor sets a value, you too can call the same method... BASE1Header bh = new Base1Header(); bh.setFormat(22); // Or whatever value you need. So in summary, you need not override anything, just use the public methods to change the values set at construction. -- -- Mark
5 Apr 2006 01:45
Moving to SVN
CVS <at> SF has been having some problems[1] lately so I thought it is a good time to move to SVN[2]. I just converted our CVS repository to SVN and imported it, I'm now doing some checks and removing some old tags and branches. If you have some time, I'd appreciate if you svn co https://svn.sourceforge.net/svnroot/jpos jpos/trunk and give it a try References: [1] http://sourceforge.net/docs/A04/ [2] http://sourceforge.net/svn/?group_id=27878
6 Apr 2006 10:45
Re: Moving to SVN
Works a treat! Eoin Alejandro Revilla wrote: > CVS <at> SF has been having some problems[1] lately so I thought > it is a good time to move to SVN[2]. > > I just converted our CVS repository to SVN and imported it, > I'm now doing some checks and removing some old tags and > branches. > > If you have some time, I'd appreciate if you > > svn co https://svn.sourceforge.net/svnroot/jpos jpos/trunk > > and give it a try
6 Apr 2006 12:09
11 Apr 2006 18:55
Is there any way for capture a ISO message?
I am new in JPOS development, i need capture a delay message but the
process of the method of the ISORequestListener interface finish
before of that the timer was expired.
The only way is with another isomux and isorequest.getresponse()
with a timer more wide than the first, but i am not sure.
mux.queue(req);
ISOMsg response= req.getResponse(60*1000);
if(response!= null)
{
// normal flow
}
else {
//auto response }
capturadelayed(m, canalBanco);
and the method is
public void capturadelayed(ISOMsg delay, ISOChannel canalbank)
{
try {
ISOMUX mult= new ISOMUX(canalbank); // inicializando MUX y asignando
(Continue reading)
11 Apr 2006 18:08
any way for capture a delay ISOMSG?
I am new in JPOS development, i need capture a delay message but the
process of the method of the ISORequestListener interface finish
before of that the timer was expired.
The only way is with another isomux and isorequest.getresponse()
with a timer more wide than the first, but i am not sure.
public void capturadelayed(ISOMsg delay, ISOChannel canalbank)
{
try {
ISOMUX mult= new ISOMUX(canalbank); // inicializando MUX y asignando
a el host de banamex
new Thread(mult).start();// Iniciar un Thread para el Multiplexor
ISOMsg response=mult.request(delay,700*1000);
if((response!=null)&&(response.getMTI().equals
("0210")))
{
if(response.hasField(39)&&(response.getString
(39).equals("00")))
{
traceNumber= (Integer.valueOf(response.getString
(11))).toString();
delayed= response;
arreglo= new Hashtable();
arreglo.put(Integer.valueOf(response.getString
(11)).toString(),delayed);
}
(Continue reading)
11 Apr 2006 19:23
vapchannel
Actualmente tenia funcionando una aplicacion de mensajeria ISO 8583 con una empresa, yo utilizaba el vapchannel para recibir los mensajes y todo estaba funcionando bien, pero ahora ellos cambiaron el channel, y me dicen que envian el mensaje pero la unica diferencia es que ya no hay header, existe algun channel similiar al vapchannel pero sin header o habra que modificar el vapchannel para que no incluya header, espero su ayuda, de antemano muchas gracias
11 Apr 2006 19:17
Re: Is there any way for capture a ISO message?
> > The only way is with another isomux and isorequest.getresponse() > with a timer more wide than the first, but i am not sure. > I'm not sure if I understand correctly what you need, but I guess you could add a requestListener to your mux in order to handle delayed messages. Have a look at a recent post by Mark in jpos-users mailing list (http://groups-beta.google.com/group/jpos-users) that describes how to deal with unhandled messages. --Alejandro
RSS Feed