public class CouchDbEndpoint
extends org.apache.camel.impl.DefaultEndpoint
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_HEARTBEAT |
static int |
DEFAULT_PORT |
static String |
DEFAULT_STYLE |
| Constructor and Description |
|---|
CouchDbEndpoint() |
CouchDbEndpoint(String endpointUri,
String remaining,
CouchDbComponent component) |
| Modifier and Type | Method and Description |
|---|---|
protected CouchDbClientWrapper |
createClient() |
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Exchange |
createExchange(String seq,
String id,
com.google.gson.JsonObject obj,
boolean deleted) |
org.apache.camel.Producer |
createProducer() |
String |
getDatabase() |
long |
getHeartbeat() |
String |
getHostname() |
String |
getPassword() |
int |
getPort() |
String |
getProtocol() |
String |
getStyle() |
String |
getUsername() |
boolean |
isCreateDatabase() |
boolean |
isDeletes() |
boolean |
isSingleton() |
boolean |
isUpdates() |
void |
setCreateDatabase(boolean createDatabase) |
void |
setDatabase(String database) |
void |
setDeletes(boolean deletes) |
void |
setHeartbeat(long heartbeat) |
void |
setHostname(String hostname) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
void |
setStyle(String style) |
void |
setUpdates(boolean updates) |
void |
setUsername(String username) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, 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 static final String DEFAULT_STYLE
public static final long DEFAULT_HEARTBEAT
public static final int DEFAULT_PORT
public CouchDbEndpoint()
public CouchDbEndpoint(String endpointUri, String remaining, CouchDbComponent component) throws Exception
Exceptionpublic org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
Exceptionpublic boolean isSingleton()
public org.apache.camel.Exchange createExchange(String seq, String id, com.google.gson.JsonObject obj, boolean deleted)
protected CouchDbClientWrapper createClient()
public String getProtocol()
public void setProtocol(String protocol)
public String getHostname()
public void setHostname(String hostname)
public String getStyle()
public void setStyle(String style)
public String getUsername()
public void setUsername(String username)
public String getDatabase()
public void setDatabase(String database)
public String getPassword()
public void setPassword(String password)
public int getPort()
public void setPort(int port)
public long getHeartbeat()
public void setHeartbeat(long heartbeat)
public boolean isCreateDatabase()
public void setCreateDatabase(boolean createDatabase)
public boolean isDeletes()
public void setDeletes(boolean deletes)
public boolean isUpdates()
public void setUpdates(boolean updates)
Apache Camel