public class Pipeline
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.Navigate<org.apache.camel.Processor>, org.apache.camel.Traceable, org.apache.camel.spi.IdAware
Constructor and Description |
---|
Pipeline(org.apache.camel.CamelContext camelContext,
Collection<org.apache.camel.Processor> processors) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
continueRouting(Iterator<org.apache.camel.AsyncProcessor> it,
org.apache.camel.Exchange exchange) |
protected void |
doProcess(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback,
Iterator<org.apache.camel.AsyncProcessor> processors,
boolean first) |
protected void |
doStart() |
protected void |
doStop() |
String |
getId() |
List<org.apache.camel.Processor> |
getProcessors() |
String |
getTraceLabel() |
boolean |
hasNext() |
static org.apache.camel.Processor |
newInstance(org.apache.camel.CamelContext camelContext,
List<org.apache.camel.Processor> processors) |
static org.apache.camel.Processor |
newInstance(org.apache.camel.CamelContext camelContext,
org.apache.camel.Processor... processors) |
List<org.apache.camel.Processor> |
next() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
void |
setId(String id) |
String |
toString() |
build, doBuild, doInit, doResume, doShutdown, doSuspend, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public Pipeline(org.apache.camel.CamelContext camelContext, Collection<org.apache.camel.Processor> processors)
public static org.apache.camel.Processor newInstance(org.apache.camel.CamelContext camelContext, List<org.apache.camel.Processor> processors)
public static org.apache.camel.Processor newInstance(org.apache.camel.CamelContext camelContext, org.apache.camel.Processor... processors)
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
protected void doProcess(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback, Iterator<org.apache.camel.AsyncProcessor> processors, boolean first)
protected boolean continueRouting(Iterator<org.apache.camel.AsyncProcessor> it, org.apache.camel.Exchange exchange)
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.AsyncProcessorSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.AsyncProcessorSupport
Exception
public List<org.apache.camel.Processor> getProcessors()
public String getTraceLabel()
getTraceLabel
in interface org.apache.camel.Traceable
public String getId()
getId
in interface org.apache.camel.spi.HasId
public void setId(String id)
setId
in interface org.apache.camel.spi.IdAware
public 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>
Apache Camel