Class MllpExceptionIoFilter
- java.lang.Object
-
- org.apache.mina.core.filterchain.IoFilterAdapter
-
- org.openehealth.ipf.platform.camel.ihe.mllp.core.MllpExceptionIoFilter
-
- All Implemented Interfaces:
org.apache.mina.core.filterchain.IoFilter
public class MllpExceptionIoFilter extends org.apache.mina.core.filterchain.IoFilterAdapter
ThisIoFilterAdapter
is used to catch all exceptions occurred inside theMllpConsumer
filterChain, before the message reaches the CamelRoute, and send appropriate response created by defined exceptionHandler either over RouteBuilder exception handling using "consumer.bridgeErrorHandler=true" or directly by "exceptionHandler=#myExceptionHandlerBean"- Author:
- Boris Stanojevic
-
-
Constructor Summary
Constructors Constructor Description MllpExceptionIoFilter(org.apache.camel.component.mina.MinaConsumer minaConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exceptionCaught(org.apache.mina.core.filterchain.IoFilter.NextFilter nextFilter, org.apache.mina.core.session.IoSession session, Throwable cause)
-
-
-
Method Detail
-
exceptionCaught
public void exceptionCaught(org.apache.mina.core.filterchain.IoFilter.NextFilter nextFilter, org.apache.mina.core.session.IoSession session, Throwable cause)
- Specified by:
exceptionCaught
in interfaceorg.apache.mina.core.filterchain.IoFilter
- Overrides:
exceptionCaught
in classorg.apache.mina.core.filterchain.IoFilterAdapter
-
-