AbstractRedisMessageBus

abstract class AbstractRedisMessageBus<M : Message<*, *>, AggregateIdCapable, NamedAggregate, E : MessageExchange<*, M>>(redisTemplate: ReactiveStringRedisTemplate, topicConverter: AggregateTopicConverter, pollTimeout: Duration = Duration.ofSeconds(2)) : DistributedMessageBus<M, E>

Inheritors

Constructors

Link copied to clipboard
constructor(redisTemplate: ReactiveStringRedisTemplate, topicConverter: AggregateTopicConverter, pollTimeout: Duration = Duration.ofSeconds(2))

Properties

Link copied to clipboard
abstract val messageType: Class<M>

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun receive(namedAggregates: Set<NamedAggregate>): Flux<E>
Link copied to clipboard
open override fun send(message: M): Mono<Void>
Link copied to clipboard
abstract fun M.toExchange(acknowledgePublisher: Mono<Void>): E