camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: How to send MATIP protocol via TCP in camel
Date Fri, 21 Dec 2012 08:37:53 GMT
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.vasudevan@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message