public class RedisProducer extends DefaultProducer
logshutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
RedisProducer(RedisEndpoint endpoint,
RedisConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected RedisConfiguration |
getConfiguration() |
RedisEndpoint |
getEndpoint()
Gets the endpoint this producer sends to.
|
void |
process(Exchange exchange)
Processes the message exchange
|
java.lang.String |
toString() |
createExchange, createExchange, createExchange, doStart, doStop, isSingletondoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic RedisProducer(RedisEndpoint endpoint, RedisConfiguration configuration)
public void process(Exchange exchange) throws java.lang.Exception
Processorexchange - the message exchangejava.lang.Exception - if an internal processing error has occurred.protected RedisConfiguration getConfiguration()
public RedisEndpoint getEndpoint()
ProducergetEndpoint in interface ProducergetEndpoint in class DefaultProducerpublic java.lang.String toString()
toString in class DefaultProducerCopyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.