org.apache.camel.component.ibatis
Class IBatisEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint<E>
org.apache.camel.impl.ScheduledPollEndpoint<E>
org.apache.camel.impl.DefaultPollingEndpoint
org.apache.camel.component.ibatis.IBatisEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint
public class IBatisEndpoint
- extends DefaultPollingEndpoint
An
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
convertTo, createEndpointUri, createExchange, createExchange, createExchange, createExecutorService, equals, getCamelContext, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
IBatisEndpoint
public IBatisEndpoint(String endpointUri,
IBatisComponent component,
String entityName)
IBatisEndpoint
public IBatisEndpoint(String endpointUri,
String entityName)
getComponent
public IBatisComponent getComponent()
- Overrides:
getComponent in class DefaultEndpoint
isSingleton
public boolean isSingleton()
createProducer
public Producer createProducer()
throws Exception
- Throws:
Exception
createPollingConsumer
public PollingConsumer createPollingConsumer()
throws Exception
- Specified by:
createPollingConsumer in interface Endpoint- Overrides:
createPollingConsumer in class DefaultEndpoint
- Throws:
Exception
getSqlClient
public com.ibatis.sqlmap.client.SqlMapClient getSqlClient()
throws IOException
- Returns the iBatis SQL client
- Throws:
IOException
getEntityName
public String getEntityName()
query
public void query(Message message)
throws IOException,
SQLException
- Throws:
IOException
SQLException
getStatementType
public StatementType getStatementType()
setStatementType
public void setStatementType(StatementType statementType)
Apache CAMEL