Re: Does IoSession.write() do buffering?

2018-09-18 Thread Jonathan Valliere
There should be no aggregation, especially for Datagrams. On Tue, Sep 18, 2018 at 1:57 PM Raghavendra Balgi wrote: > Hey Krishan, You should probably consider using a CodecFilter as described > here - > > https://mina.apache.org/mina-project/userguide/ch9-codec-filter/ch9-codec-filter.html > >

Re: Does IoSession.write() do buffering?

2018-09-18 Thread Raghavendra Balgi
Hey Krishan, You should probably consider using a CodecFilter as described here - https://mina.apache.org/mina-project/userguide/ch9-codec-filter/ch9-codec-filter.html On Tue, Sep 18, 2018 at 11:11 PM Krishan Babbar wrote: > Hi All, > > We are working on an IoT project and using

Does IoSession.write() do buffering?

2018-09-18 Thread Krishan Babbar
Hi All, We are working on an IoT project and using "org.apache.mina" library (Version - 2.0.16) in our gateway adaptor (GA - Java Code). Device connects to our GA and GA send acknowledgement back to device for each message. We are using multi-threading for handling each packet from a device(s).