camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Registering Components in OSGi Using Spring XML File...
Date Wed, 25 Apr 2012 01:35:43 GMT

If you are using spring, you can export your wmq component as OSGi 
service, then import it as a normal bean in the other bundle.

Camel will pick up the component for you automatically.

On Tue Apr 24 22:48:40 2012, James Carman wrote:
> I am trying to set up a JMS component which connects to our WebSphere MQ
> server.  I want to be able to use this component in other bundles.  I assume
> I would need to get a ComponentResolver service set up.  It looks like
> camel-core sets itself up to look for other bundles to start up and it
> automatically adds service definitions for ComponentResolvers.  However, it
> only looks for bundles containing the
> META-INF/services/org/apache/camel/component/* resources.  It there any way
> to instruct Spring to register a ComponentResolver for my "wmq" component?
> I think I have a pretty good idea of how to do this by rolling my own
> support, but I thought I'd ask in case there's something "baked in" that I'm
> missing (which I'm sure is the case).  Thanks!
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

CamelOne 2012 Conference, May 15-16, 2012:
Blog: (English)
Twitter: willemjiang
Weibo: willemjiang

View raw message