Camel OSGi services component

2012-05-22 Thread szh . subs
Hi gurus, Recently I've published camel component that uses OSGi services to communicate between endpoints in different bundles. Here is the link: https://github.com/szhem/camel-osgi I've already raised JIRA issue - https://issues.apache.org/jira/browse/CAMEL-5292 So I'd like to have some f

Re: Camel OSGi services component

2012-05-23 Thread szh . subs
Hi James, s are perfect if you have a single processor, if you have more than one processor that may come and go you will have to write custom code to publish to all of these processors. The main goal I was trying to achieve is to send an exchange to multiple osgi endpoints and to load balance

Re: Dynamic list of consumers for the same route

2012-05-23 Thread szh . subs
Christian, OSGi services can be used without even restarting the container or camel contexts. As by spec. invocation of OSGi service happens synchronously in the same thread, so there are no problems with transactions. You only have to publish you consumer side into the OSGi registry somehow (

Re: Dynamic list of consumers for the same route

2012-05-23 Thread szh . subs
Here is the link to the component: https://github.com/szhem/camel-osgi > Christian, > OSGi services can be used without even restarting the container or camel > contexts. > As by spec. invocation of OSGi service happens synchronously in the same > thread, so there are > no problems with transac