You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by mdconner64 <Mi...@lmco.com> on 2013/07/31 14:40:48 UTC

Retrieve ActiveMQ URI from Camel XML

Looking for an example where the broker URI (e.g., "tcp://localhost:61616")
is stored in XML and then used for sending a JMS message using ActiveMQ.  I
don't want the URI in the source code so can be changed (different host, add
failover, set debug options, etc.) for all producers & consumers.



--
View this message in context: http://camel.465427.n5.nabble.com/Retrieve-ActiveMQ-URI-from-Camel-XML-tp5736570.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Retrieve ActiveMQ URI from Camel XML

Posted by Claus Ibsen <cl...@gmail.com>.
There is this tutorial
http://camel.apache.org/tutorial-jmsremoting.html

And you can also use property placeholders
http://camel.apache.org/using-propertyplaceholder.html

On Wed, Jul 31, 2013 at 2:40 PM, mdconner64 <Mi...@lmco.com> wrote:
> Looking for an example where the broker URI (e.g., "tcp://localhost:61616")
> is stored in XML and then used for sending a JMS message using ActiveMQ.  I
> don't want the URI in the source code so can be changed (different host, add
> failover, set debug options, etc.) for all producers & consumers.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Retrieve-ActiveMQ-URI-from-Camel-XML-tp5736570.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