public class RedisEndpoint extends DirectEndpoint
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
RedisEndpoint(java.lang.String uri,
RedisComponent component,
RedisConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
Consumer |
createConsumer(Processor processor)
Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
|
Producer |
createProducer()
Creates a new producer which is used send messages into the endpoint
|
protected void |
doShutdown()
Implementations override this method to perform customized shutdown.
|
RedisConfiguration |
getConfiguration() |
boolean |
isSingleton()
Whether this class supports being singleton or not.
|
addConsumer, getConsumer, getKey, getTimeout, hasConsumer, isBlock, removeConsumer, setBlock, setTimeoutconfigureConsumer, 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, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic RedisEndpoint(java.lang.String uri,
RedisComponent component,
RedisConfiguration configuration)
public Producer createProducer() throws java.lang.Exception
EndpointcreateProducer in interface EndpointcreateProducer in class DirectEndpointjava.lang.Exception - can be thrownpublic Consumer createConsumer(Processor processor) throws java.lang.Exception
EndpointcreateConsumer in interface EndpointcreateConsumer in class DirectEndpointprocessor - the given processorjava.lang.Exception - can be thrownpublic boolean isSingleton()
IsSingletonisSingleton in interface IsSingletonisSingleton in class DirectEndpointprotected void doShutdown()
throws java.lang.Exception
ServiceSupportdoShutdown in class ServiceSupportjava.lang.Exceptionpublic RedisConfiguration getConfiguration()
Copyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.