camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Synchronous message transfer between JVM's(container's) with MQ.
Date Mon, 01 Dec 2014 07:12:55 GMT
Hi

You can do jms request/reply over JMS with Camel and ActiveMQ. Camel
will automatic send back the reply message on the reply queue.

Take a look at the jms documentation and examples, and whatnot.



On Mon, Dec 1, 2014 at 3:41 AM, sathiyaraja <sathiyaraja1991@hotmail.com> wrote:
> Hi All,
>
>   I am working on a message transfer from one bundle to another using
> direct-vm within a fabric container. But as my business scope increased i
> have deployed the bundle is two different containers and here the usage of
> direct-vm was changed to activemq as direct-vm can be used across
> containers.
>
> As my service is a synchronous service i'm not achieving it because of the
> activemq.
>
> Implementation:
>
> container 1:
> <route>
> <from uri="netty:tcp://localhost:9090">
>
> With content based routing i'm routing the input message to diffrent
> activemq endpoint.
>
> <to uri="activemq:myfirst.queue"/>
> <to uri="activemq:mysecond.queue"/>
>
> </route>
>
>
> Container 2:
> <route>
> <from uri="activemq:myfirst.queue"">
>
>
>
> </route>
>
> Container 3:
> <route>
> <from uri="activemq:mysecond.queue"">
>
>
>
> </route>
>
> I tried with replyto attribute in activemq and with NMR component also not
> helping :(
>
> Kindly help.
>
> Regards,
> Sathiyaraja P
>
>
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Synchronous-message-transfer-between-JVM-s-container-s-with-MQ-tp5759835.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message