elk007007 | 13 Apr 17:38
Picon
Favicon

Does the ServerChannel process multiple request sended through an ISOMUX ? Opcio

Hi JPOS Users: 

I have a ServerChannel listening on port 6664, and in other class i 
have a ISOMUX connected to that serverChannel. The problem is that 
when i try to send through ISOMUX simultaneous request they are 
queued 
ok, but the process method on the ServerChannel side take control on 
each request one by one, not in a simultaneous way. I mean when 
ServerChannel receive simultaneous request through  the same TCP 
session it does not process them in a Multithread enviroment? My 
result is that ServerChannel process them one by one. 

How can i do in order to improve the ServerChannel side to 
manipulate 
simultaneous request in the same TCP session. 

Att, 

Elkin David Beltrán Duque 
Software Developer
Colombia

------------------------------------

Picon

Re: Does the ServerChannel process multiple request sended through an ISOMUX ? Opcio

Hi Elkin
You have to start your own thread in the ReuqestListener, you can see code of org.jpos.iso.Connector as an
example, you want to use a ThreadPool.

Good Luck

Andrés

elk007007 wrote:
> 
> 
> Hi JPOS Users:
> 
> I have a ServerChannel listening on port 6664, and in other class i
> have a ISOMUX connected to that serverChannel. The problem is that
> when i try to send through ISOMUX simultaneous request they are
> queued
> ok, but the process method on the ServerChannel side take control on
> each request one by one, not in a simultaneous way. I mean when
> ServerChannel receive simultaneous request through the same TCP
> session it does not process them in a Multithread enviroment? My
> result is that ServerChannel process them one by one.
> 
> How can i do in order to improve the ServerChannel side to
> manipulate
> simultaneous request in the same TCP session.
> 
> Att,
> 
> Elkin David Beltrán Duque
(Continue reading)


Gmane