Re: SuspendedInvocationException is lost during continuation.suspend()

2010-11-23 Thread Sergey Beryozkin
Hi Willem thanks for the explanation. It makes sense. However, when a user calls, for ex, continuation.suspend(60) there is no need to register a handler. This is a different kind of flow where a handler is registered and then that handler calls continuation.resume(). When we do

Re: SuspendedInvocationException is lost during continuation.suspend()

2010-11-23 Thread Daniel Kulp
Just a quick note that the new behavior more closely matches the behavior of the Async capabilities of the Servlet 3.0 spec. Longer term, as we move to Jetty 8, we should be able to just use the Servlet 3 AsyncContext support for this and simplify the code a bit. Dan On Tuesday 23

Re: Why isn't BusFactory.defaultBus a leakage opportunity?

2010-11-23 Thread Benson Margulies
An additional thought: if a bus is being created 'by magic', refer to it softly, either default or per-thread. If someone, on the other hand, makes an _explicit_ call to set a default bus, reference it strongly. On Tue, Nov 23, 2010 at 4:15 PM, Benson Margulies bimargul...@gmail.com wrote: I