You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Illtud Daniel <il...@llgc.org.uk> on 2010/09/15 18:57:53 UTC
Camel console not seeing my routes
activemq v5.4
This is probably something obvious, but I'm using the packaged
camel by uncommenting the <import resource="camel.xml"/> element
in the activemq configuration file. This works great, I can set
up routes in camel.xml and they work a treat.
It's rather unwieldy having to restart activemq each time I make
a change here, so I hop on over to the camel console where I can
dynamically edit routes, but I don't see any of my routes in there,
just the default example route.
Camel's picking that up from webapps/camel/WEB-INF/applicationContext.xml
I'm not a Java person really, so I'm probably missing something
easy here, but:
Is there a way of getting the routes that I've created in
the activemq camel.xml configuration file to appear in the
camel console so that I can easily tinker with them to test
my route configuration (then when I'm happy, I'll hardwire
them into the camel.xml file)?
--
Illtud Daniel illtud.daniel@llgc.org.uk
Prif Swyddog Technegol Chief Technical Officer
Llyfrgell Genedlaethol Cymru National Library of Wales
Re: Camel console not seeing my routes
Posted by Illtud Daniel <il...@llgc.org.uk>.
Hi Dejan,
> this is fixed in the current trunk ... see
> https://issues.apache.org/activemq/browse/AMQ-2203 for more info
Good to know it's not just my ignorance!
> for your current setup just, the workaround is to modify your
> applicationContext.xml like this
>
> http://fisheye6.atlassian.com/browse/activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml?r2=993024&r1=992251
Thanks, that works a treat.
--
Illtud Daniel illtud.daniel@llgc.org.uk
Prif Swyddog Technegol Chief Technical Officer
Llyfrgell Genedlaethol Cymru National Library of Wales
Re: Camel console not seeing my routes
Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,
this is fixed in the current trunk ... see
https://issues.apache.org/activemq/browse/AMQ-2203 for more info
for your current setup just, the workaround is to modify your
applicationContext.xml like this
http://fisheye6.atlassian.com/browse/activemq/trunk/assembly/src/release/webapps/camel/WEB-INF/applicationContext.xml?r2=993024&r1=992251
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb
Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net
On Wed, Sep 15, 2010 at 6:57 PM, Illtud Daniel
<il...@llgc.org.uk> wrote:
> activemq v5.4
>
> This is probably something obvious, but I'm using the packaged
> camel by uncommenting the <import resource="camel.xml"/> element
> in the activemq configuration file. This works great, I can set
> up routes in camel.xml and they work a treat.
>
> It's rather unwieldy having to restart activemq each time I make
> a change here, so I hop on over to the camel console where I can
> dynamically edit routes, but I don't see any of my routes in there,
> just the default example route.
>
> Camel's picking that up from webapps/camel/WEB-INF/applicationContext.xml
>
> I'm not a Java person really, so I'm probably missing something
> easy here, but:
>
> Is there a way of getting the routes that I've created in
> the activemq camel.xml configuration file to appear in the
> camel console so that I can easily tinker with them to test
> my route configuration (then when I'm happy, I'll hardwire
> them into the camel.xml file)?
>
> --
> Illtud Daniel illtud.daniel@llgc.org.uk
> Prif Swyddog Technegol Chief Technical Officer
> Llyfrgell Genedlaethol Cymru National Library of Wales
>