org.apache.camel.component.jdbc
Class JdbcEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.jdbc.JdbcEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton

public class JdbcEndpoint
extends DefaultEndpoint

Version:
$Revision:520964 $

Constructor Summary
JdbcEndpoint()
           
JdbcEndpoint(String endpointUri, Component component, DataSource dataSource)
           
 
Method Summary
 Consumer createConsumer(Processor processor)
           
protected  String createEndpointUri()
           
 Producer createProducer()
           
 DataSource getDataSource()
           
 int getReadSize()
           
 boolean isSingleton()
           
 void setDataSource(DataSource dataSource)
           
 void setReadSize(int readSize)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, convertTo, createExchange, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdbcEndpoint

public JdbcEndpoint()

JdbcEndpoint

public JdbcEndpoint(String endpointUri,
                    Component component,
                    DataSource dataSource)
Method Detail

isSingleton

public boolean isSingleton()

createConsumer

public Consumer createConsumer(Processor processor)
                        throws Exception
Throws:
Exception

createProducer

public Producer createProducer()
                        throws Exception
Throws:
Exception

getReadSize

public int getReadSize()

setReadSize

public void setReadSize(int readSize)

getDataSource

public DataSource getDataSource()

setDataSource

public void setDataSource(DataSource dataSource)

createEndpointUri

protected String createEndpointUri()
Overrides:
createEndpointUri in class DefaultEndpoint


Apache CAMEL