You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by James Carman <ja...@carmanconsulting.com> on 2012/04/20 14:30:11 UTC

Using the Context Component in ServiceMix...

What I'm trying to do is have a bunch of bundles containing camel
routes that only use "local endpoints".  Then, I plan on putting
together a "wiring" bundle which connects all my local/logical
endpoints from the other bundles using the actual middleware
(WebSphere MQ in our case).  I'm trying to use the context component
(http://camel.apache.org/context.html), but I'm having some troubles.
When I try to refer to the local endpoints in other bundles, Camel
complains saying it can't find a component which supports the scheme
"context".  Yes, I have camel-component set up in the OSGi container.
There is a ComponentResolver visible to the container (I can see it
through the webconsole) which represents the "context" component.  Am
I missing something (stupid question, obviously I am :)?