Re: [Carbon-dev] Is it possible to put the eventing service in to carbon context?

2011-03-29 Thread Indika Kumara
But, would it be possible to move all these things in to CarbonContext? OSGIServiceLocator was a generic class to locate a service and there is no relation with rule or a particular OSGI service and was a workaround to lookup an OSGI service when it is impossible to use a declarative service refere

Re: [Carbon-dev] Is it possible to put the eventing service in to carbon context?

2011-03-29 Thread Supun Kamburugamuva
I can simply put the eventing service in to mediation initializer and then put it to the configuration context as a property. But this may be not the correct approach. Thanks, Supun.. On Wed, Mar 30, 2011 at 11:24 AM, Indika Kumara wrote: > A year back, I wrote a class to be used in the rule med

Re: [Carbon-dev] Is it possible to put the eventing service in to carbon context?

2011-03-29 Thread Indika Kumara
A year back, I wrote a class to be used in the rule mediator to pick some OSGI services. Many OSGI services exposed from the carbon components cannot be otherwise accessed by a mediator. Thanks, Indika [1] https://svn.wso2.org/repos/wso2/trunk/carbon/components/rule/org.wso2.carbon.rule.server/s

[Carbon-dev] Is it possible to put the eventing service in to carbon context?

2011-03-29 Thread Supun Kamburugamuva
>From a ESB mediator we would like to get the EventBroker service. But since mediators are fragments they cannot access this service. Is it possible to put the eventing service in to carbon context? Thanks, -- Supun Kamburugamuva Technical Lead &  Product Manager, WSO2 Inc.; http://wso2.com Membe