@UriEndpoint(scheme="mybatis",
consumerClass=MyBatisConsumer.class)
public class MyBatisEndpoint
extends org.apache.camel.impl.DefaultPollingEndpoint
| Constructor and Description |
|---|
MyBatisEndpoint() |
MyBatisEndpoint(String endpointUri,
org.apache.camel.Component component,
String statement) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
MyBatisComponent |
getComponent() |
org.apache.ibatis.session.ExecutorType |
getExecutorType() |
int |
getMaxMessagesPerPoll() |
MyBatisProcessingStrategy |
getProcessingStrategy() |
org.apache.ibatis.session.SqlSessionFactory |
getSqlSessionFactory() |
String |
getStatement() |
StatementType |
getStatementType() |
boolean |
isSingleton() |
void |
setExecutorType(org.apache.ibatis.session.ExecutorType executorType) |
void |
setExecutorType(String executorType) |
void |
setMaxMessagesPerPoll(int maxMessagesPerPoll) |
void |
setProcessingStrategy(MyBatisProcessingStrategy processingStrategy) |
void |
setStatement(String statement) |
void |
setStatementType(StatementType statementType) |
configurePollingConsumer, configureProperties, configureScheduledPollConsumerPropertiesconfigureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
createConsumer in interface org.apache.camel.EndpointcreateConsumer in class org.apache.camel.impl.DefaultPollingEndpointExceptionpublic boolean isSingleton()
public MyBatisComponent getComponent()
getComponent in class org.apache.camel.impl.DefaultEndpointpublic org.apache.ibatis.session.SqlSessionFactory getSqlSessionFactory()
throws IOException
IOExceptionpublic String getStatement()
public void setStatement(String statement)
public StatementType getStatementType()
public void setStatementType(StatementType statementType)
public org.apache.ibatis.session.ExecutorType getExecutorType()
public void setExecutorType(org.apache.ibatis.session.ExecutorType executorType)
public void setExecutorType(String executorType)
public MyBatisProcessingStrategy getProcessingStrategy()
public void setProcessingStrategy(MyBatisProcessingStrategy processingStrategy)
public int getMaxMessagesPerPoll()
public void setMaxMessagesPerPoll(int maxMessagesPerPoll)
Apache Camel