Interface WsRejectionHandlingStrategy
- All Known Implementing Classes:
AbstractHl7v2WsRejectionHandlingStrategy
,AbstractWsRejectionHandlingStrategy
public interface WsRejectionHandlingStrategy
Rejection handling strategy for WS transactions.
- Author:
- Dmytro Rud
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
handleRejectedExchange
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
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:
-