Class AcceptanceInterceptorUtils
java.lang.Object
org.openehealth.ipf.platform.camel.ihe.hl7v2.intercept.AcceptanceInterceptorUtils
Generic functionality for HL7v2 acceptance checking interceptors.
- Author:
- Dmytro Rud
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
processRequest
(InterceptorSupport interceptor, Exchange exchange) Checks acceptance of the input message and calls the route.static void
processResponse
(InterceptorSupport interceptor, Exchange exchange) Calls the route and checks acceptance of the output message.
-
Method Details
-
processRequest
public static void processRequest(InterceptorSupport interceptor, Exchange exchange) throws Exception Checks acceptance of the input message and calls the route.- Throws:
Exception
-
processResponse
public static void processResponse(InterceptorSupport interceptor, Exchange exchange) throws Exception Calls the route and checks acceptance of the output message.- Throws:
Exception
-