public class RedisProducer extends DefaultProducer
log
shutdown, 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, isSingleton
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public RedisProducer(RedisEndpoint endpoint, RedisConfiguration configuration)
public void process(Exchange exchange) throws java.lang.Exception
Processor
exchange
- the message exchangejava.lang.Exception
- if an internal processing error has occurred.protected RedisConfiguration getConfiguration()
public RedisEndpoint getEndpoint()
Producer
getEndpoint
in interface Producer
getEndpoint
in class DefaultProducer
public java.lang.String toString()
toString
in class DefaultProducer
Copyright © 2007-2014 Red Hat, Inc.. All Rights Reserved.