Hi,
First of all, I'm using Camel 1.6.1 and Camel-Mina 1.6.1 and I'm
sending/receiving XML over TCP and I'm using a Textline based codec. I've
been using the Mina component for a while now but I found that there are
some short comings that I need to fix:
1- I have to send the whole xml in one line and terminate it with CRLF (0D
0A) in order to send the whole XML at once. Otherwise, I will receive the
message line by line.
2- The default buffer size for TextLineCodec is 1024 bytes which is not
adequate in my case. I guess that it was set for each line. I have partially
solved this problem in this post
http://www.nabble.com/Mina-Buffer-size-td25136625.html but, the new limit is
now 4096. I don't know how to increase it more than that.

I have thought of using XMPP (Vysper) as an implementation for the
ProtocolCodecFactory (Custom Codec) but I wanted to get your recommendation
first because, if I can work fine with the TextLineCodec then I don't have
to complicate things. 

If anyone had a successful experience with Camel+Mina+XML then share it
please.
-- 
View this message in context: 
http://www.nabble.com/Mina-TextlineCodec-tp25409694p25409694.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to