Hello All,

I am having problems making the Mina component work within my application.

I am sending messages comprised of raw bytes, to a server over TCP.  I have
a simple java class that opens a socket and sends the bytes and the messages
are received and processed fine.  I also wrote a simple C++ program that did
the same thing.  And I have also used the linux 'nc' utility to do the same
thing.

I tried adding the Mina component to my existing Camel route but I get
different errors about character sets etc..  I can see I have options about
textline or to use a Codec.  However textline is not suitable and I don't
have a codec.  I never needed one for all the methods abobve so how come I
need to worry about this now in Java with Camel. 

I just want to send the raw bytes and let the server deal with them.  Should
there not be a default option to do that?

I suspect I'm oversimplifying things here - but you can see from the ways I
have successfully sent messages that this need not be so complex, should it?

Regards

Richard



--
View this message in context: 
http://camel.465427.n5.nabble.com/Mina-Component-tp4476431p4476431.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to