AggregateEventDispatcher

class AggregateEventDispatcher(val namedAggregate: NamedAggregate, val name: String = "-", val parallelism: Int = MessageParallelism.DEFAULT_PARALLELISM, val messageFlux: Flux<EventStreamExchange>, val functionRegistrar: MessageFunctionRegistrar<MessageFunction<Any, DomainEventExchange<*>, Mono<*>>>, val eventHandler: EventHandler, val scheduler: Scheduler) : AbstractAggregateEventDispatcher<EventStreamExchange>

Constructors

Link copied to clipboard
constructor(namedAggregate: NamedAggregate, name: String = "-", parallelism: Int = MessageParallelism.DEFAULT_PARALLELISM, messageFlux: Flux<EventStreamExchange>, functionRegistrar: MessageFunctionRegistrar<MessageFunction<Any, DomainEventExchange<*>, Mono<*>>>, eventHandler: EventHandler, scheduler: Scheduler)

Properties

Link copied to clipboard
open override val aggregateName: String
Link copied to clipboard
open override val contextName: String
Link copied to clipboard
open override val eventHandler: EventHandler
Link copied to clipboard
Link copied to clipboard
open override val messageFlux: Flux<EventStreamExchange>
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val namedAggregate: NamedAggregate
Link copied to clipboard
open override val parallelism: Int
Link copied to clipboard
open override val scheduler: Scheduler

Functions

Link copied to clipboard
fun NamedAggregate.aggregateId(id: String = generateId(), tenantId: String = TenantId.DEFAULT_TENANT_ID): DefaultAggregateId
Link copied to clipboard
Link copied to clipboard
override fun cancel()
Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
open fun currentContext(): Context
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
open override fun handleExchange(exchange: EventStreamExchange): Mono<Void>
Link copied to clipboard
open override fun isDisposed(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun onComplete()
Link copied to clipboard
override fun onError(p0: Throwable)
Link copied to clipboard
override fun onNext(p0: Void)
Link copied to clipboard
override fun onSubscribe(p0: Subscription)
Link copied to clipboard
override fun request(p0: Long)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun run()
Link copied to clipboard
open fun safeOnNext(value: Void)
Link copied to clipboard
open fun safeOnNextError(value: Void, throwable: Throwable)
Link copied to clipboard
open override fun EventStreamExchange.toGroupKey(): Int
Link copied to clipboard