public class TryProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.Navigate<org.apache.camel.Processor>, org.apache.camel.Traceable, org.apache.camel.spi.IdAware, org.apache.camel.spi.RouteIdAware
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.camel.CamelContext |
camelContext |
protected List<org.apache.camel.Processor> |
catchClauses |
protected org.apache.camel.Processor |
finallyProcessor |
protected String |
id |
protected org.apache.camel.spi.ReactiveExecutor |
reactiveExecutor |
protected String |
routeId |
protected org.apache.camel.Processor |
tryProcessor |
| Constructor and Description |
|---|
TryProcessor(org.apache.camel.CamelContext camelContext,
org.apache.camel.Processor tryProcessor,
List<org.apache.camel.Processor> catchClauses,
org.apache.camel.Processor finallyProcessor) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
continueRouting(Iterator<org.apache.camel.Processor> it,
org.apache.camel.Exchange exchange) |
protected void |
doStart() |
protected void |
doStop() |
String |
getId() |
String |
getRouteId() |
String |
getTraceLabel() |
boolean |
hasNext() |
List<org.apache.camel.Processor> |
next() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
void |
setId(String id) |
void |
setRouteId(String routeId) |
String |
toString() |
build, doBuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected final org.apache.camel.CamelContext camelContext
protected final org.apache.camel.spi.ReactiveExecutor reactiveExecutor
protected String id
protected String routeId
protected final org.apache.camel.Processor tryProcessor
protected final List<org.apache.camel.Processor> catchClauses
protected final org.apache.camel.Processor finallyProcessor
public TryProcessor(org.apache.camel.CamelContext camelContext,
org.apache.camel.Processor tryProcessor,
List<org.apache.camel.Processor> catchClauses,
org.apache.camel.Processor finallyProcessor)
public String getTraceLabel()
getTraceLabel in interface org.apache.camel.Traceablepublic boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
process in interface org.apache.camel.AsyncProcessorprotected boolean continueRouting(Iterator<org.apache.camel.Processor> it, org.apache.camel.Exchange exchange)
protected void doStart()
throws Exception
doStart in class org.apache.camel.support.AsyncProcessorSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.AsyncProcessorSupportExceptionpublic List<org.apache.camel.Processor> next()
next in interface org.apache.camel.Navigate<org.apache.camel.Processor>public boolean hasNext()
hasNext in interface org.apache.camel.Navigate<org.apache.camel.Processor>public String getId()
getId in interface org.apache.camel.spi.HasIdpublic void setId(String id)
setId in interface org.apache.camel.spi.IdAwarepublic String getRouteId()
getRouteId in interface org.apache.camel.spi.RouteIdAwarepublic void setRouteId(String routeId)
setRouteId in interface org.apache.camel.spi.RouteIdAwareApache Camel