Did you already checked this test: https://svn.apache.org/repos/asf/camel/trunk/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaVMCustomCodecTest.java And there are much more: https://svn.apache.org/repos/asf/camel/trunk/components/camel-mina/src/test/java/org/apache/camel/component/mina/
Best, Christian On Thu, Mar 7, 2013 at 2:35 PM, nil <icicn...@hotmail.com> wrote: > 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. > --