asMessageOrigin

public OriginĀ asMessageOrigin()

This method is not supported and always throws UnsupportedOperationException.

This should never happen as no event is caused directly by an ExternalMessage.

Instead, the external messages are consumed by an anti-corruption layer such as external reactor or subscriber methods in the destination Bounded Context.

Throws