public abstract class BaseMyBatisEndpoint
extends org.apache.camel.support.DefaultPollingEndpoint
| Constructor and Description |
|---|
BaseMyBatisEndpoint() |
BaseMyBatisEndpoint(String endpointUri,
org.apache.camel.Component component) |
| Modifier and Type | Method and Description |
|---|---|
MyBatisComponent |
getComponent() |
org.apache.ibatis.session.ExecutorType |
getExecutorType() |
String |
getInputHeader() |
String |
getOutputHeader() |
org.apache.ibatis.session.SqlSessionFactory |
getSqlSessionFactory() |
void |
setExecutorType(org.apache.ibatis.session.ExecutorType executorType)
The executor type to be used while executing statements.
|
void |
setExecutorType(String executorType) |
void |
setInputHeader(String inputHeader)
User the header value for input parameters instead of the message body.
|
void |
setOutputHeader(String outputHeader)
Store the query result in a header instead of the message body.
|
configureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDefaultDelay, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, 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, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateProducer, getEndpointBaseUri, isSingletonProducerpublic BaseMyBatisEndpoint()
public BaseMyBatisEndpoint(String endpointUri, org.apache.camel.Component component)
public MyBatisComponent getComponent()
getComponent in class org.apache.camel.support.DefaultEndpointpublic org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
throws IOException
IOExceptionpublic org.apache.ibatis.session.ExecutorType getExecutorType()
public void setExecutorType(org.apache.ibatis.session.ExecutorType executorType)
public void setExecutorType(String executorType)
public String getInputHeader()
public void setInputHeader(String inputHeader)
public String getOutputHeader()
public void setOutputHeader(String outputHeader)
Apache Camel