public class ClaimCheckProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.spi.IdAware, org.apache.camel.spi.RouteIdAware, org.apache.camel.CamelContextAware
Exchange
s, but a private instance is created per Exchange
.
This guards against concurrent and thread-safe issues. For off-memory persistent storage of data, then use
any of the many Camel components that support persistent storage, and do not use this Claim Check EIP implementation.Constructor and Description |
---|
ClaimCheckProcessor() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.AggregationStrategy |
createAggregationStrategy() |
protected void |
doStart() |
protected void |
doStop() |
org.apache.camel.AggregationStrategy |
getAggregationStrategy() |
org.apache.camel.CamelContext |
getCamelContext() |
String |
getFilter() |
String |
getId() |
String |
getKey() |
String |
getOperation() |
String |
getRouteId() |
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback) |
void |
setAggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setFilter(String filter) |
void |
setId(String id) |
void |
setKey(String key) |
void |
setOperation(String operation) |
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, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
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 String getRouteId()
getRouteId
in interface org.apache.camel.spi.RouteIdAware
public void setRouteId(String routeId)
setRouteId
in interface org.apache.camel.spi.RouteIdAware
public String getOperation()
public void setOperation(String operation)
public org.apache.camel.AggregationStrategy getAggregationStrategy()
public void setAggregationStrategy(org.apache.camel.AggregationStrategy aggregationStrategy)
public String getKey()
public void setKey(String key)
public String getFilter()
public void setFilter(String filter)
public boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
process
in interface org.apache.camel.AsyncProcessor
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
protected org.apache.camel.AggregationStrategy createAggregationStrategy()
Apache Camel