Hi Christian, Have you had a look at the Enterprise OSGi Remote Services specification? I provides an easy way to publish services (including event handlers) to remote containers by just adding a few properties to the service.
It sounds like your prototype is doing very similar work, and nothing wrong with JMS as a transport. Might be worth considering the Remote Services spec. if you want to expand it beyond just events. Regards, Nick -----Original Message----- From: Christian Schneider [mailto:[email protected]] On Behalf Of Christian Schneider Sent: 12 October 2012 10:00 To: Felix Dev Subject: Re: EventAdmin jms bridge Hi all, I would be happy to get some feedback about my proposed EventAdmin jms bridge. I am fully aware that is not yet ready for addition but I wanted to get feedback early in the development. So what do you think? Is it a good idea to send Events to remote containers? Is jms the right transport? .. and of course is felix the right place for such a project? Best regards Christian Am 09.10.2012 15:23, schrieb Christian Schneider: > Hi all, > > I have implemented a first prototype of a jms bridge for the > EventAdmin service. > The idea is to be able to transparently send Events between OSGi > containers using a jms provider. > > The current status is that events can be published and received and > the jms ConnectionFactory is bound as an OSGi service. > > The following is missing: > - Configuration which jms ConnectionFactory to use if there are more > than one > - Configuration of the topic prefix on the jms server > - Configuration of the EventAdmin topics to send / receive as > typically you will not want all to be sent > - Ignoring our own events to avoid loops > > If there is interest in the felix community I would like to donate the > bridge. > I have already used the felix project structure and package names to > make it easy to integrate. > > The current code can be found here: > https://github.com/cschneider/event-admin-jms > > What do you think? > > Christian > -- Christian Schneider http://www.liquid-reality.de Open Source Architect Talend Application Integration Division http://www.talend.com ________________________________________________________________________ This e-mail has been scanned for all viruses. ________________________________________________________________________
