Hi All, We make heavy use of OSGi (running in JBoss 7, actually) for a large integration application, and this includes events (EventAdmin). We don't currently use iPOJO (simply declarative service) but I really want to move over to iPOJO.
My principal problem with OSGi events is the lack of a durable subscription mechanism (such as what JMS provides), which means that when I re-deploy an event handler component (that has been bug-fixed, for example), it may miss events that occur at the moment of redeployment. This means that one cannot rely on events for critical workflow steps. Does iPOJO provide any mechanism to improve event reliability? The only two features I would imagine that are needed are: * If a handler fails when handling an event (throws a RuntimeException), event delivery should be repeated (perhaps for a certain time). * When a component is being re-deployed (and one could argue, when it is stopped as well) the event should be held for a certain time, and delivered once the component is up again. Temporal service dependencies provide this sort of thing quite nicely for normal service invocation, but is there any way to use a similar mechanism for event subscriptions to decrease the likelihood of missing events? If not, since iPOJO already has a layer that takes care of event subscription and publication, it already provides a solid hook to build in this functionality I imagine. Any information would be much appreciated - Dawid --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

