Skip to content

Latest commit

 

History

History
46 lines (25 loc) · 2.49 KB

_integration-spi.adoc

File metadata and controls

46 lines (25 loc) · 2.49 KB

Integration SPI

The integration SPIs allow the framework to automate the exchange of data between bounded contexts automatically.

Table 1. Integration SPI
API Description

CommandDtoProcessorService

SPI to support representation of commands as XML over REST, in particular to support master/slave replay of commands.

CommandExecutorService

Service used to execute commands. One use case is to replay commands from a primary onto a secondary (see Command Replay ; another is in support of async commands (using WrapperFactory ).

CommandSubscriber

SPI to allow commands to be processed on completion. The Command Log extension implements the SPI in order to persists commands for audit or replay.

EntityChangesSubscriber

Summarises changes made to entities within an interaction.

EntityPropertyChangeSubscriber

Publish the changes to all changed properties of all domain object within an interaction.

ExecutionSubscriber

Publish any action invocations/property edits and changed objects, typically for interchange with an external system in a different bounded context.