What do you think? :-)
There is often a confusion about OSGi specs. Unlike many other specs, OSGi
specs are not made to make your life easier, they're made to enable
collaboration. Simplicity is very much in the eye of the beholder and is thus
better left up to libraries that service a certain constituency. That said, we
obviously try to make the specs as easy as possible to use but not at the cost
of making them more complex to implement.
Kind regards,
Peter Kriens
You get the event but the contract is that you return quickly. So just run the
body in an Executor.
On 25 mrt 2011, at 12:33, LongkerDandy wrote:
> Hi
> One of my event handler fetch info from internet and tends to block,
> And this makes it timeout since pending event keep coming.
>
> I wondered if event admin service can be used as producer/consumer pattern.
> Or I have to implement the pattern myself, by using the event handler as a
> producer.
>
> Thanks
> LongkerDandy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]