@UriEndpoint(scheme="influxdb",
title="InfluxDB",
syntax="influxdb:connectionBean",
label="database,ticks",
producerOnly=true)
public class InfluxDbEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
InfluxDbEndpoint(String uri,
InfluxDbComponent influxDbComponent,
org.influxdb.InfluxDB dbConn) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getConnectionBean()
Getter for connectionBean
|
String |
getDatabaseName()
Getter for databaseName
|
org.influxdb.InfluxDB |
getInfluxDB() |
String |
getRetentionPolicy()
Getter for retentionPolicy
|
boolean |
isSingleton() |
void |
setConnectionBean(String connectionBean)
Name of
InfluxDB to use. |
void |
setDatabaseName(String databaseName)
Setter for databaseName
|
void |
setInfluxDB(org.influxdb.InfluxDB influxDB) |
void |
setRetentionPolicy(String retentionPolicy)
Setter for retentionPolicy
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public InfluxDbEndpoint(String uri, InfluxDbComponent influxDbComponent, org.influxdb.InfluxDB dbConn)
uri
- influxDbComponent
- public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public org.influxdb.InfluxDB getInfluxDB()
public void setInfluxDB(org.influxdb.InfluxDB influxDB)
public String getDatabaseName()
public void setDatabaseName(String databaseName)
databaseName
- public String getRetentionPolicy()
public void setRetentionPolicy(String retentionPolicy)
retentionPolicy
- public String getConnectionBean()
InfluxDB
connectionpublic void setConnectionBean(String connectionBean)
InfluxDB
to use.Apache Camel