Which codec factory do you use (you didn't show us the configuration)?
TextLineCodecFactory? -> encoderMaxLineLength/decoderMaxLineLength are
applied.
ObjectSerializationCodecFactory? ->
encoderMaxLineLength/decoderMaxLineLength are *NOT* applied.
A custom?

Best,
Christian

On Thu, Mar 7, 2013 at 11:40 AM, nil <[email protected]> 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.
>



--

Reply via email to