This content has been marked as final.
Show 1 reply
-
1. Re: WebService Timeout using JBoss Seam and RestEasy
gaborj Oct 12, 2010 12:28 AM (in response to diegosdias)The @Suspend annotation tells Resteasy that the HTTP request/response should be detached from the currently executing thread and that the current thread should not try to automaticaly process the response. The argument to @Suspend is a timeout in milliseconds until the request will be cancelled.
On the other hand you can implement and use a custom Seam Interceptor or a Servlet Filter in the front end depending on your requirements around this.