Thanks ! A session is created automatically for you when a Client connects. There has to be a way to correlate, not sue what. If there is none you have to create one in ur app, like this ip+port aka session has sent a message and waiting for reply. Until reply is received don't send any more messages.
Try SNMP4J (http://www.snmp4j.org) it has similar abstraction built in. thanks ashish On Thu, Jan 21, 2010 at 9:13 PM, Christian Müller <[email protected]> wrote: > Hello Ashish! > > Thanks for the link, but I could not found a suitable already existing > solution in the Mina related projects for my requirement. > So, I build a unit test which sends "parallel" 100 requests and everything > works fine. Thanks for your help and the great work of the Mina team. > > But how could a solution looks like (in an multithreaded environment), if > the underling protocol doesn't support a correlation id? Should I open a new > Session for each request? Sounds not efficient... > > Regards, > Christian > > P.S. Congratulations to become a PMC member! > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
