In your route you have activemq defined here:
it is the scheme of the URI (the text before the first colon).
So Camel expects to find a component with this name. As the name suggests its a AMQ broker, you need to define it as well.
In your configuration below, you have define a generic JMS component. What you can do is either:
1) change this generic from jms to activemq
2) or change the activemq in your route to jms
3) Or use ActiveMQ directly
If you want to use AMQ broker then there is a better component provided in the
activemq-camel.jar that is optimized for AMQ-Camel.
You can find this jar in the FUSE maven repo
For instance the latest release is here:
And then you need to define a spring bean with the name activemq
See more here:
Edited by: davsclaus on Apr 15, 2009 1:55 PM
And there is a bigger tutorial on Camel in FUSE ESB 4.x (OSGi) here:
The author is currently in the writing of a 2nd part with more to come.
His blog is here:
Thanks a lot, the first hint worked out. Didn't try the other ones.