Class AbstractHl7v2WsRejectionHandlingStrategy
java.lang.Object
org.openehealth.ipf.commons.ihe.ws.cxf.AbstractWsRejectionHandlingStrategy
org.openehealth.ipf.platform.camel.ihe.hl7v2ws.AbstractHl7v2WsRejectionHandlingStrategy
- All Implemented Interfaces:
WsRejectionHandlingStrategy
public abstract class AbstractHl7v2WsRejectionHandlingStrategy
extends AbstractWsRejectionHandlingStrategy
Rejection handling strategy base for HL7v2-based WS transactions.
- Author:
- Dmytro Rud
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isRejected
(Exchange cxfExchange) Specific rejection determination logic tor HL7v2-based WS transactions.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.ihe.ws.cxf.WsRejectionHandlingStrategy
handleRejectedExchange
-
Constructor Details
-
AbstractHl7v2WsRejectionHandlingStrategy
public AbstractHl7v2WsRejectionHandlingStrategy()
-
-
Method Details
-
isRejected
Specific rejection determination logic tor HL7v2-based WS transactions.- Specified by:
isRejected
in interfaceWsRejectionHandlingStrategy
- Overrides:
isRejected
in classAbstractWsRejectionHandlingStrategy
- Parameters:
cxfExchange
- CXF exchange under consideration.- Returns:
true
when the exchange contains an outbound SOAP Fault or an HL7v2 NAK with code 'AR' or 'CR'.- See Also:
-