public class SapConsumer
extends org.apache.camel.impl.DefaultConsumer
| Modifier and Type | Field and Description |
|---|---|
static String |
SAP_SESSION_CONTEXT_PROPERTY_NAME |
protected SapServerSessionContext |
sessionContext |
protected boolean |
stateful |
| Constructor and Description |
|---|
SapConsumer(org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected SapServerSessionContext |
getSessionContext()
Returns session context if this consumer.
|
boolean |
isStateful()
Returns
true if this consumer is stateful and
false otherwise. |
protected void |
setSessionContext(SapServerSessionContext sessionContext)
Sets the session context of this consumer.
|
protected void |
setStateful(boolean stateful)
Set stateful state of consumer.
|
createUoW, doneUoW, doStart, doStop, getAsyncProcessor, getEndpoint, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic static final String SAP_SESSION_CONTEXT_PROPERTY_NAME
protected boolean stateful
protected SapServerSessionContext sessionContext
public SapConsumer(org.apache.camel.Endpoint endpoint,
org.apache.camel.Processor processor)
public boolean isStateful()
true if this consumer is stateful and
false otherwise.true if this consumer is stateful and
false otherwise.protected void setStateful(boolean stateful)
stateful - - if true this consumer is stateful and
false otherwise.protected SapServerSessionContext getSessionContext()
protected void setSessionContext(SapServerSessionContext sessionContext)
sessionContext - - the session context.Apache Camel