Le 03/03/16 09:09, tunca a écrit : > Hi Emmanuel, > > I downloaded apache mina 2.0.13 and updated NioDatagramSession METADATA > creation code. > Set the 4th parameter to true, then for UDP CumulativeProtocolDecoder > started to work as expected.
Indeed. Although doing so you create a dependency on a patched version of MINA. That means if someone in the future switch to a newer version of MINA, your code will simply break. Here is what I suggest : fill a JIRA asking for exposing the MetaData parameter, allowing teh developper (you, here) to set the flag to something else than the defautl value.