camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Activemq Request reply
Date Mon, 10 Dec 2012 09:42:20 GMT
On Mon, Dec 10, 2012 at 10:34 AM, kiranreddykasa <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message