public class ClaimCheckProcessor
extends org.apache.camel.support.AsyncProcessorSupport
implements org.apache.camel.spi.IdAware, org.apache.camel.CamelContextAware
Exchanges, 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() |
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) |
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, suspendpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic String getId()
getId in interface org.apache.camel.spi.HasIdpublic void setId(String id)
setId in interface org.apache.camel.spi.IdAwarepublic 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.AsyncProcessorprotected void doStart()
throws Exception
doStart in class org.apache.camel.support.AsyncProcessorSupportExceptionprotected void doStop()
throws Exception
doStop in class org.apache.camel.support.AsyncProcessorSupportExceptionprotected org.apache.camel.AggregationStrategy createAggregationStrategy()
Apache Camel