Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Catching java.io.IOException on the server side

Hi,

On Wed, Jul 23, 2014 at 8:47 PM, harald <sunnyday@xxxxxxxxxxx> wrote:
> Is there really no standard way to catch those IOExceptions?

Not that I know without customizing the servlet container.
And even if you do, chances are that the reset exception is thrown for
some other reason (and the processing actually completed
successfully).

Perhaps you have better chances to customize the client app ?
Would be enough for the client app to send the timeout value, perhaps
as a HTTP header.
The server can look at it and will know whether to queue to JMS or not.

-- 
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.


Back to the top