activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: How can I change the port camel connects to in activemq.xml
Date Tue, 22 Jul 2008 14:37:37 GMT
2008/7/22 DominicTulley <dominic.tulley@telelogic.com>:
>
> When the broker is running on port 61616 things work fine but if I change the
> broker to use 61613 (for instance) then camel isn't able to connect.  I
> suppose there is some property I can set inside camelcontext to tell it the
> port to use, but I haven't been able to discover what that is...
>
> My XML in activemq.xml is:
>
>  <camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring">
>     <routeBuilderRef ref="MessageRouter" />
>     <routeBuilderRef ref="AdminRouter" />
>  </camelContext>
>
> Any help appreciated!

Just define an instance of the camel ActiveMQComponent and configure
the brokerURL property. See the example here in the section
"Configuring the Connection Factory using Spring XML"...
http://activemq.apache.org/camel/activemq.html

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message