public abstract class BaseMyBatisEndpoint
extends org.apache.camel.impl.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() |
boolean |
isSingleton() |
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.
|
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic BaseMyBatisEndpoint()
public BaseMyBatisEndpoint(String endpointUri, org.apache.camel.Component component)
public boolean isSingleton()
public MyBatisComponent getComponent()
getComponent in class org.apache.camel.impl.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