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.IoFilterAdapterThisIoFilterAdapteris used to catch all exceptions occurred inside theMllpConsumerfilterChain, 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 voidexceptionCaught(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:
exceptionCaughtin interfaceorg.apache.mina.core.filterchain.IoFilter- Overrides:
exceptionCaughtin classorg.apache.mina.core.filterchain.IoFilterAdapter
-
-