public class EvaluateExpressionProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.Traceable
Processor
which evaluates an Expression
and stores the result as a property on the Exchange
with the key
Exchange.EVALUATE_EXPRESSION_RESULT
.
This processor will in case of evaluation exceptions, set the caused exception
on the Exchange
.Constructor and Description |
---|
EvaluateExpressionProcessor(org.apache.camel.Expression expression) |
Modifier and Type | Method and Description |
---|---|
String |
getTraceLabel() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
String |
toString() |
doStart, doStop, process, processAsync
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 EvaluateExpressionProcessor(org.apache.camel.Expression expression)
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
public String getTraceLabel()
getTraceLabel
in interface org.apache.camel.Traceable
Apache Camel