|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.impl.DefaultPollingEndpoint
org.apache.camel.component.ibatis.IBatisEndpoint
public class IBatisEndpoint
| Constructor Summary | |
|---|---|
IBatisEndpoint()
|
|
IBatisEndpoint(String uri,
IBatisComponent component,
String statement)
|
|
| Method Summary | |
|---|---|
IBatisPollingConsumer |
createConsumer(Processor processor)
|
Producer |
createProducer()
|
IBatisComponent |
getComponent()
|
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 |
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. |
| Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint |
|---|
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties |
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
|---|
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IBatisEndpoint()
public IBatisEndpoint(String uri,
IBatisComponent component,
String statement)
throws Exception
Exception| Method Detail |
|---|
public IBatisComponent getComponent()
getComponent in class DefaultEndpointpublic boolean isSingleton()
public Producer createProducer()
throws Exception
Exception
public IBatisPollingConsumer createConsumer(Processor processor)
throws Exception
createConsumer in interface EndpointcreateConsumer in class DefaultPollingEndpointException
public com.ibatis.sqlmap.client.SqlMapClient getSqlMapClient()
throws IOException
IOException
public 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||