public final class HandleFault extends Object implements org.apache.camel.spi.InterceptStrategy
InterceptStrategy
implementation to handle faults as exceptions on a RouteContextConstructor and Description |
---|
HandleFault() |
Modifier and Type | Method and Description |
---|---|
static HandleFault |
getHandleFault(org.apache.camel.CamelContext context)
A helper method to return the HandleFault instance
for a given
CamelContext if one is enabled |
String |
toString() |
org.apache.camel.Processor |
wrapProcessorInInterceptors(org.apache.camel.CamelContext context,
org.apache.camel.NamedNode definition,
org.apache.camel.Processor target,
org.apache.camel.Processor nextTarget) |
public org.apache.camel.Processor wrapProcessorInInterceptors(org.apache.camel.CamelContext context, org.apache.camel.NamedNode definition, org.apache.camel.Processor target, org.apache.camel.Processor nextTarget) throws Exception
wrapProcessorInInterceptors
in interface org.apache.camel.spi.InterceptStrategy
Exception
public static HandleFault getHandleFault(org.apache.camel.CamelContext context)
CamelContext
if one is enabledcontext
- the camel context the handlefault intercept strategy is connected toApache Camel