public class JedisSender extends JedisBase implements Sender
Sender
to use a redis database with its build-in publish/subscribe function as
message broker. See JedisReceiver
for configuration details.JedisReceiver
channel, eventSerializer, host, password, port, REDIS_MESSAGING_CHANNEL, REDIS_MESSAGING_HOST, REDIS_MESSAGING_PASSWORD, REDIS_MESSAGING_PORT, REDIS_MESSAGING_TIMEOUT, timeout
Constructor and Description |
---|
JedisSender() |
Modifier and Type | Method and Description |
---|---|
Sender |
configure(Serializer eventDeserializer)
Configures this sender with the given
Serializer |
boolean |
send(Event event)
Sends the given
Event |
getJedis, initialize
public Sender configure(Serializer eventDeserializer)
Sender
Serializer
configure
in interface Sender
eventDeserializer
- the Serializer
to useCopyright © 2011–2020 aiticon GmbH. All rights reserved.