Le 27/08/15 06:59, Nitin a écrit : > Dear Emmanuel, > > Thanks for the reply. As you mentioned in your reply that > > "It's possible that one message override another one before it's written > into the buffer. Try to add a lock associated with the session, and protect > the section here you create the buffer."
The key here is that a session is always executed by one single thread, unless you have added an executorFilter in the chain, or you have your own threads calling session.write(). Do you have either an executorFilter or your own thread ?