public abstract static class AbstractEventBus.Builder extends Object
AbstractEventBus
implementations.
The MessageMonitor
is defaulted to an NoOpMessageMonitor
.
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AbstractEventBus.Builder |
messageMonitor(MessageMonitor<? super EventMessage<?>> messageMonitor)
Sets the
MessageMonitor to monitor ingested EventMessage s. |
protected void |
validate()
Validates whether the fields contained in this Builder are set accordingly.
|
public AbstractEventBus.Builder messageMonitor(MessageMonitor<? super EventMessage<?>> messageMonitor)
messageMonitor
- a MessageMonitor
to monitor ingested EventMessage
sprotected void validate() throws AxonConfigurationException
AxonConfigurationException
- if one field is asserted to be incorrect according to the Builder's
specificationsCopyright © 2010–2020. All rights reserved.