Interface WsRejectionHandlingStrategy
-
- All Known Implementing Classes:
AbstractHl7v2WsRejectionHandlingStrategy
,AbstractWsRejectionHandlingStrategy
public interface WsRejectionHandlingStrategy
Rejection handling strategy for WS transactions.- Author:
- Dmytro Rud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleRejectedExchange(Exchange cxfExchange)
This method will be called when the request has been rejected by CXF (in this case, the CXF exchange will contain a SOAP fault) or by IPF (transaction-specific logic).boolean
isRejected(Exchange cxfExchange)
This method should returntrue
when the given CXF exchange can be considered rejected (failed).
-
-
-
Method Detail
-
handleRejectedExchange
void handleRejectedExchange(Exchange cxfExchange)
This method will be called when the request has been rejected by CXF (in this case, the CXF exchange will contain a SOAP fault) or by IPF (transaction-specific logic).- Parameters:
cxfExchange
- CXF exchange containing multiple representations of the request message and the whole context information.
-
isRejected
boolean isRejected(Exchange cxfExchange)
This method should returntrue
when the given CXF exchange can be considered rejected (failed).- Parameters:
cxfExchange
- CXF exchange under consideration.- Returns:
true
when the given CXF exchange has been rejected;false
otherwise.- See Also:
SoapUtils.extractOutgoingException(org.apache.cxf.message.Exchange)
-
-