which binding(s) are you using? java and c# implement these:
there's a way to allow the caller to only wait a certain amount of time for a response, which is @Timeout(n) marks on a method (or interface). this causes the caller to abandon the call but doesn't kill the connection. adding term filter=KeepAlive to a connection url will cause a hung connection to be detected and killed. it must be added to the urls of both client and server. for a connection to hang means that one of the message readers has hung or is just super busy. one way this can happen is for a message reader to make an etch call. you must take steps to prevent this from happening. one way is to mark the method as being as asynchronous (which causes it to be executed on a thread pool instead of by the reader). scott out On 12/7/2012 6:31 AM, [email protected] wrote: > Hi, > > currently we have the problem that the client sometimes doesn't read data of > an etch call for a long time. This blocks the calling server (in > apr_socket_send()), in our case it leads to a reset as the server fails to > call the watchdog for that time. > > My question is: can I initialize an etch connection with a timeout for all > etch calls? > Further, when the timeout gets reached, I want to be able to terminate the > etch connection. > Is this already possible? If so, how does it work? > > Thanks, > Harald > >
