I think execute and wait interceptor will do what i want that is to give the backend services an amount of time to do their job. If they don't do it in that time, the struts app should send a response message back to the client.
The only problem with the interceptor is that it is not available in struts 1.2.4 (the application is old), so i'm going to have to make the mechanism myself. Thanks for the answer! On Wed, Dec 9, 2009 at 2:39 PM, Wes Wannemacher <w...@wantii.com> wrote: > Your question is a bit vague, which might be why you are having > trouble finding a solution... > > If I understand the problem properly, perhaps using the "Execute and > Wait" facility will help - > > http://struts.apache.org/2.1.8.1/docs/execute-and-wait-interceptor.html > > As far as controlling the amount of time before giving up on the > backend services (if that's your goal), you would have to build that > mechanism yourself. > > -Wes > > 2009/12/9 André Lopes <afsalo...@gmail.com>: > > Hi all, > > > > I'm working on an application that makes requests to several backend > > services, and i need to establish a max time in wich the struts > application > > must send the http response. Is it possible to define such timeout? I've > > been searching for a way to do this, but i haven't found anything. > > > > Cheers, > > -- > > André Lopes > > > > > > -- > Wes Wannemacher > > Head Engineer, WanTii, Inc. > Need Training? Struts, Spring, Maven, Tomcat... > Ask me for a quote! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- André Lopes Ogden Nash <http://www.brainyquote.com/quotes/authors/o/ogden_nash.html> - "The trouble with a kitten is that when it grows up, it's always a cat."