Hi, Thanks for reply. However, I don't see how to set this property in my app.
We effectively have a custom codec <bean id="myCodecFactory" class="com.xxx.codec.CodecFactory"> <property name="translator" ref="translator" /> </bean> <bean id="translator" class="com.xxx.codec.PacketTranslator"> <property name="listTranslator"> <ref bean="v0" /> </property> </bean> We try to extends our codec factory with TextLineDecoder to override maxLineLength attribut or to extends ObjectSerializationEncoder with maxObjectSize = Integer.MAX_VALUE; by default. I think i don't look at the good part of code. Any idea? Thanks a lot -- View this message in context: http://camel.465427.n5.nabble.com/Camel-mina-data-truncated-to-1024-bytes-tp5728733p5728754.html Sent from the Camel - Users mailing list archive at Nabble.com.