Hi

What Camel version do you use?

I think when you use a custom codec, eg myCodecFactory
Then you need to handle the line length in your codec.

I think encoderMaxLineLength is only in use when using the out of box
textline codec.


On Thu, Mar 7, 2013 at 11:40 AM, nil <icicn...@hotmail.com> wrote:
> Hi,
>
> I'm using camel mina component configured like this :
>
> <bean id="myMinaConfig"
> class="org.apache.camel.component.mina.MinaConfiguration">
>   <property name="protocol" value="tcp" />
>   <property name="host" value="${tcp.ip}" />
>   <property name="port" value="${tcp.port}" />
>   <property name="sync" value="false" />
>   <property name="minaLogger" value="${tcp.minaLogger}" />
>   <property name="codec" ref="myCodecFactory" />
>   <property name="transferExchange" value="false" />
>
>  </bean>
>
> My problem is data are always truncated to 1024 first bytes.
>
> I try using
>
>   <property name="encoderMaxLineLength" value="2048"/>
>   <property name="decoderMaxLineLength" value="2048" />
>
> in my Mina Configuration but no effect.
>
> Is there something i'm doing wrong
>
> Thanks for your reply
>
> NIL
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-mina-data-truncated-to-1024-bytes-tp5728733.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to