Camel Osgi registry doesn't support filter for services;

You'd better write your own processor to locate osgi services; it's not so
sophisticated , just do some  reflecting works;

But if you do wish to use camel bean's features, the only way I know is
change the source code of CamelOsgiRegistry to support osgi service filter;
(it's unfortunately) then you can use recipient list to dynamic create a
endpoint to invoke osgi service;

-----Original-----
Sender: klausb [mailto:[email protected]] 
Date: 2010/12/16 17:47
Receiver: [email protected]
Subject: Re: How to setup a dynamic route using beans in Java w/o having a
spring ref to them?


Hi Sebastian,

thanks for the good explaination. However I do not have a problem with a
dynamic bean activation as such.
I was rather asking for a method to avoid the osgi reference tag, because
the wiring-component, that creates the routes from an external config should
not know about the beans in advance. Which is the case, if I have to
register all the potential beans in the spring file.

klaus
-- 
View this message in context:
http://camel.465427.n5.nabble.com/How-to-setup-a-dynamic-route-using-beans-i
n-Java-w-o-having-a-spring-ref-to-them-tp3304398p3307652.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Reply via email to