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, setTimeout
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, toString
doResume, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public RedisEndpoint(java.lang.String uri, RedisComponent component, RedisConfiguration configuration)
public Producer createProducer() throws java.lang.Exception
Endpoint
createProducer
in interface Endpoint
createProducer
in class DirectEndpoint
java.lang.Exception
- can be thrownpublic Consumer createConsumer(Processor processor) throws java.lang.Exception
Endpoint
createConsumer
in interface Endpoint
createConsumer
in class DirectEndpoint
processor
- the given processorjava.lang.Exception
- can be thrownpublic boolean isSingleton()
IsSingleton
isSingleton
in interface IsSingleton
isSingleton
in class DirectEndpoint
protected void doShutdown() throws java.lang.Exception
ServiceSupport
doShutdown
in class ServiceSupport
java.lang.Exception
public RedisConfiguration getConfiguration()
Copyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.