Per-Erik Svensson wrote > Hi, > > Maybe java.util.concurrent.BlockingQueue can help out if you need to > implement a producer-consumer. There are unbounded queues > (LinkedBlockingQueue) so you should be able to just put the information on > the queue (unbounded shouldn't block on put operations) and process it > elsewhere (in an Executor for example). > This is what we're doing - an event handler just puts incoming events into the queue - and therefore returns quickly.
And a background task is processing the items in the queue. Regards Carsten -- Carsten Ziegeler cziege...@apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@felix.apache.org For additional commands, e-mail: users-h...@felix.apache.org