public abstract class HazelcastDefaultEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Modifier and Type | Field and Description |
---|---|
protected String |
cacheName |
protected HazelcastCommand |
command |
protected com.hazelcast.core.HazelcastInstance |
hazelcastInstance |
protected String |
hazelcastInstanceName |
Constructor and Description |
---|
HazelcastDefaultEndpoint(com.hazelcast.core.HazelcastInstance hazelcastInstance,
String endpointUri,
org.apache.camel.Component component) |
HazelcastDefaultEndpoint(com.hazelcast.core.HazelcastInstance hazelcastInstance,
String endpointUri,
org.apache.camel.Component component,
String cacheName) |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
abstract org.apache.camel.Producer |
createProducer() |
String |
getCacheName() |
HazelcastCommand |
getCommand() |
HazelcastOperation |
getDefaultOperation() |
com.hazelcast.core.HazelcastInstance |
getHazelcastInstance() |
String |
getHazelcastInstanceName() |
boolean |
isSingleton() |
void |
setCacheName(String cacheName)
The name of the cache
|
void |
setCommand(HazelcastCommand command)
What operation to perform.
|
void |
setDefaultOperation(HazelcastOperation defaultOperation)
To specify a default operation to use, if no operation header has been provided.
|
void |
setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance)
The hazelcast instance reference which can be used for hazelcast endpoint.
|
void |
setHazelcastInstanceName(String hazelcastInstanceName)
The hazelcast instance reference name which can be used for hazelcast endpoint.
|
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
protected HazelcastCommand command
@UriPath @Metadata(required="true") protected String cacheName
@UriParam protected com.hazelcast.core.HazelcastInstance hazelcastInstance
@UriParam protected String hazelcastInstanceName
public HazelcastDefaultEndpoint(com.hazelcast.core.HazelcastInstance hazelcastInstance, String endpointUri, org.apache.camel.Component component)
public abstract org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public abstract org.apache.camel.Producer createProducer() throws Exception
Exception
public boolean isSingleton()
public HazelcastCommand getCommand()
public void setCommand(HazelcastCommand command)
public String getCacheName()
public void setCacheName(String cacheName)
public com.hazelcast.core.HazelcastInstance getHazelcastInstance()
public void setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance)
public String getHazelcastInstanceName()
public void setHazelcastInstanceName(String hazelcastInstanceName)
public void setDefaultOperation(HazelcastOperation defaultOperation)
public HazelcastOperation getDefaultOperation()
Apache Camel