I don't know the MATIP protocol, but it's possible. In general by working
with Mina, you only have to define your encoders and decoders and assign
they to your mina endpoint.

Best,
Christian

Sent from a mobile device
Am 21.12.2012 07:09 schrieb "CKV" <chaithanya.vasude...@ibsplc.com>:

> I have defined a sample TCP port and tried to send a string value through
> Camel.
> It was success and I got the result also.
>
> Please find the code
> for defining the port,
>                <route>
>                         <from
> uri="mina:tcp://localhost:5555?sync=false&amp;textline=true"/>
>                         <to
> uri="bean:fileConsumer?method=getTcpConnection1"/>
>                 </route>
> For testing , I used below producertemplate.sendBody to send the string
> "Hello World" .
> producer.sendBody("mina:tcp://localhost:5555?textline=true&sync=false",
> "Hello World");
>
> Got value using  String body = exchange.getIn().getBody(String.class);
>
> Now the requirement is we need to get the Type B message coming from MATIP
> protocol.
> Since we are using Apache Camel we would like to get the MATIP protocol
> through Camel.
>
> Is it possible for us to receive MATIP protocol using Camel.
> Please Advice.
>
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-send-MATIP-protocol-via-TCP-in-camel-tp5724483.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to