public class CommandMessageAggregateRepositoryInterceptor
extends java.lang.Object
implements io.eventuate.AggregateRepositoryInterceptor
Constructor and Description |
---|
CommandMessageAggregateRepositoryInterceptor(io.eventuate.tram.commands.consumer.CommandMessage commandMessage) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<io.eventuate.UpdateEventsAndOptions> |
handleException(io.eventuate.CommandProcessingAggregate aggregate,
java.lang.Throwable throwable,
java.util.Optional optional) |
io.eventuate.UpdateEventsAndOptions |
transformUpdate(io.eventuate.CommandProcessingAggregate aggregate,
io.eventuate.UpdateEventsAndOptions ueo) |
public CommandMessageAggregateRepositoryInterceptor(io.eventuate.tram.commands.consumer.CommandMessage commandMessage)
public io.eventuate.UpdateEventsAndOptions transformUpdate(io.eventuate.CommandProcessingAggregate aggregate, io.eventuate.UpdateEventsAndOptions ueo)
transformUpdate
in interface io.eventuate.AggregateRepositoryInterceptor
public java.util.Optional<io.eventuate.UpdateEventsAndOptions> handleException(io.eventuate.CommandProcessingAggregate aggregate, java.lang.Throwable throwable, java.util.Optional optional)
handleException
in interface io.eventuate.AggregateRepositoryInterceptor