You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "M.Ismail" <mo...@gmail.com> on 2010/02/20 19:38:24 UTC
Connecting to a TCP server using mina
Hi,
I'm using Camel 1.6.1 and I want to connect to a TCP server that maintains a
custom handshake first (I send the user name and password then I receive a
token that will be used in all the next requests). How can I do this
scenario using Camel 1.6.1? what is the best version for the mina component
to use?
Thanks
--
View this message in context: http://old.nabble.com/Connecting-to-a-TCP-server-using-mina-tp27669165p27669165.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Connecting to a TCP server using mina
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
On Sat, Feb 20, 2010 at 7:38 PM, M.Ismail <mo...@gmail.com> wrote:
>
> Hi,
>
> I'm using Camel 1.6.1 and I want to connect to a TCP server that maintains a
> custom handshake first (I send the user name and password then I receive a
> token that will be used in all the next requests). How can I do this
> scenario using Camel 1.6.1? what is the best version for the mina component
> to use?
>
You should most likely implement a custom Mina Codec to archive that.
See the mina documentation.
And camel-hl7 has a custom mina codec as well.
>
> Thanks
> --
> View this message in context: http://old.nabble.com/Connecting-to-a-TCP-server-using-mina-tp27669165p27669165.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus