public interface WhenAggregateEventPublisher
Modifier and Type | Method and Description |
---|---|
FixtureExecutionResult |
publishes(Object event)
Register the given
event to be published on behalf of an aggregate. |
FixtureExecutionResult publishes(Object event)
event
to be published on behalf of an aggregate. Activity caused by this event
on the CommandBus and EventBus is monitored and can be checked in the FixtureExecutionResult.event
- The event published by the aggregateCopyright © 2010–2018. All rights reserved.