On Mon, Dec 10, 2012 at 10:34 AM, kiranreddykasa <kirankuma...@fss.co.in> wrote:
> Hi
>
> Nope , i m trying to achieve request/reply over tcp and jms.
>

If you want request/reply over JMS. Then you would need a consumer on
the "other side" to pickup the message, process it, and send back a
response message with the matching JMSCorrelationID. Camel will wait
for that reply message using a 20 sec timeout.



> from("tcp").to("activemq").process("someprocess").to("external
> tcp").to("someotherprocess")
>
>
> can i acheive this??
>

Then you have 2 different TCP endpoints. Do you mean that?

Maybe you want this?

from tcp
  to jms
  to process

Then the output from the "to process" will become the response
message, for the tcp endpoint (eg from tcp).


And then you need to have something else that pickup th JMS messages,
process, and send back the corresponding reply JMS message (as
mentioned before).


>
>
>
> -----
> Regards
>
> kiran Reddy
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Activemq-Request-reply-tp5723817p5723820.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to