axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Ricardo da Silva <>
Subject How to redirect an unrelated response to a previous request?
Date Tue, 17 Mar 2009 19:54:28 GMT
Hi devs, is it possible to redirect an "unrelated" response to a
previous request.

My problem is the following: when a client tries to access a crashed
endpoint I insert a fault in the InFaultFlow. I do this by using a try
catch in the AxisEngine.send() method. If I get a "Connection refused"
exception, I insert a fault (AxisEngine.receive(myFault)) in the

I have a handler in the InFaultFlow which sends (using
OperationClient) the same (previous) request to another endpoint.

I'd like to know if it is possible to make the response to this second
request become the response to the first request.

I know that Sandesha does something similar to this when it
Retransmits a request. I'm studying the sandesha code but I haven't
figured out yet how it does it. Besides, I don't want to use all the
sandesha infrastructure only to solve this problem, unless it's is my
only option.

It would be really nice if someone could help me to overcome this
problem or at least give me some hints to understand the sandesha
retransmission code or to solve the problem in a more simple or smart

Best regards,

José Ricardo.

View raw message