public class IBatisEndpoint
extends org.apache.camel.impl.DefaultPollingEndpoint
| Constructor and Description |
|---|
IBatisEndpoint() |
IBatisEndpoint(String uri,
IBatisComponent component,
String statement) |
| Modifier and Type | Method and Description |
|---|---|
IBatisConsumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
IBatisComponent |
getComponent() |
String |
getIsolation() |
int |
getMaxMessagesPerPoll() |
IBatisProcessingStrategy |
getProcessingStrategy()
Gets the IbatisProcessingStrategy to to use when consuming messages from the database
|
com.ibatis.sqlmap.client.SqlMapClient |
getSqlMapClient()
Gets the iBatis SqlMapClient
|
String |
getStatement()
Statement to run when polling or processing
|
StatementType |
getStatementType() |
boolean |
isSingleton() |
boolean |
isUseTransactions()
Indicates if transactions should be used when calling statements.
|
void |
setIsolation(String isolation) |
void |
setMaxMessagesPerPoll(int maxMessagesPerPoll) |
void |
setStatement(String statement)
Statement to run when polling or processing
|
void |
setStatementType(StatementType statementType) |
void |
setStrategy(IBatisProcessingStrategy strategy) |
void |
setUseTransactions(boolean useTransactions)
Sets indicator to use transactions for consuming and error handling statements.
|
configurePollingConsumer, configureProperties, configureScheduledPollConsumerPropertiesconfigureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic IBatisEndpoint()
public IBatisEndpoint(String uri, IBatisComponent component, String statement) throws Exception
Exceptionpublic IBatisComponent getComponent()
getComponent in class org.apache.camel.impl.DefaultEndpointpublic boolean isSingleton()
public IBatisConsumer createConsumer(org.apache.camel.Processor processor) throws Exception
createConsumer in interface org.apache.camel.EndpointcreateConsumer in class org.apache.camel.impl.DefaultPollingEndpointExceptionpublic com.ibatis.sqlmap.client.SqlMapClient getSqlMapClient()
throws IOException
IOExceptionpublic IBatisProcessingStrategy getProcessingStrategy() throws Exception
Exceptionpublic void setStrategy(IBatisProcessingStrategy strategy)
public String getStatement()
public void setStatement(String statement)
public boolean isUseTransactions()
public void setUseTransactions(boolean useTransactions)
public StatementType getStatementType()
public void setStatementType(StatementType statementType)
public int getMaxMessagesPerPoll()
public void setMaxMessagesPerPoll(int maxMessagesPerPoll)
Apache Camel