suda_091 | 4 Apr 11:52 2006
Picon

overriding BASE1Header file

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.

Thanks in advance.

Regards,
S.Sudarshan 

 
mark_l_salter | 4 Apr 20:32 2006

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 

 
Mark Salter | 4 Apr 19:59 2006

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

 
Alejandro Revilla | 5 Apr 01:45 2006

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

 
Eoin Flood | 6 Apr 10:45 2006
Picon

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

 
Alejandro Revilla | 6 Apr 12:09 2006

Re: Moving to SVN

>
> Works a treat!
> 
Super! Thanks for the test. I've seen your commits.

 
erickrolo23 | 11 Apr 18:55 2006
Picon

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)

erickrolo23 | 11 Apr 18:08 2006
Picon

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)

HEBROD | 11 Apr 19:23 2006
Picon

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

 
Alejandro Revilla | 11 Apr 19:17 2006

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

 

Gmane