initObservers

public void initObservers(EventBus eventBus)

Initializes the immediateRejectionObserver with the passed EventBus.

This enables posting of rejections received from command filters to the corresponding EventBus.

This method is called by the BoundedContext and is a part of context initialization process.

See also

AckRejectionPublisher