I am not using a textline codec. It supports only for String. I am transferring 
object.  From the external world, it is received using 
BigEndianHeapChannelBuffer 

                        BigEndianHeapChannelBuffer buf = 
(BigEndianHeapChannelBuffer) exchange.getIn().getBody();
                      
                          byte [] byt = buf.array();
                     
                        ByteArrayInputStream  in = new 
ByteArrayInputStream(byt);
                        ObjectInputStream is = new ObjectInputStream(in);
                        
                        TreeMap mapVal = (TreeMap)is.readObject();
                        
                        exchange.getIn().setBody(mapVal,TreeMap.class);

And from here, I am sending as Tree Map to the next camel. The problem occurs 
only when I send back the response to this Camel. That too only above 1MB.


Jude Solomon 


From: Christian Mueller [via Camel] 
Sent: Tuesday, August 27, 2013 2:57 AM
To: judesolomonc 
Subject: Re: Not able to transfer larger bytes of data from one came to another

I'm wondering which encoder/decoder do you use? You don't specify one. You 
do not use the default codec. You don't use the textline codec... 

The max line length for the textline codec is 1024 as described at [1]. You 
may hit this one? 

[1] http://camel.apache.org/netty.html

Best, 
Christian 
----------------- 

Software Integration Specialist 

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Fri, Aug 23, 2013 at 12:14 PM, judesolomonc <[hidden email]>wrote: 


> Version 2.10.5 
> Using via Netty 
> Limit 1MB 
> 
> Route 
> 
> from("netty:tcp://10.44.71.52:4567?allowDefaultCodec=false&textline=false 
> ") 
>         .to("netty:tcp://10.44.71.52:5678?textline=false") 
> 
> 
> 
> 
> 
> -- 
> View this message in context: 
> http://camel.465427.n5.nabble.com/Not-able-to-transfer-larger-bytes-of-data-from-one-came-to-another-tp5737811p5737827.html
> Sent from the Camel - Users mailing list archive at Nabble.com. 
> 




--------------------------------------------------------------------------------

If you reply to this email, your message will be added to the discussion below:
http://camel.465427.n5.nabble.com/Not-able-to-transfer-larger-bytes-of-data-from-one-came-to-another-tp5737811p5738004.html
 
To unsubscribe from Not able to transfer larger bytes of data from one came to 
another, click here.
NAML 

DISCLAIMER:
==========================================================================================================================================================The
 information contained in this e-mail message may be privileged and/or 
confidential and protected from disclosure under applicable law. It is intended 
only for the individual to whom or entity to which it is addressed as shown at 
the beginning of the message. If the reader of this message is not the intended 
recipient, or if the employee or agent responsible for delivering the message 
is not an employee or agent of the intended recipient, you are hereby notified 
that any review, dissemination,distribution, use, or copying of this message is 
strictly prohibited. If you have received this message in error, please notify 
us immediately by return e-mail and permanently delete this message and your 
reply to the extent it includes this message. Any views or opinions presented 
in this message or attachments are those of the author and do not necessarily 
represent those of the Company. All e-mails and attachments sent and received 
are subject to monitoring, reading, and archival by the 
Company.==========================================================================================================================================================




--
View this message in context: 
http://camel.465427.n5.nabble.com/Not-able-to-transfer-larger-bytes-of-data-from-one-came-to-another-tp5737811p5738010.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to