check Attributes Match
Ensures that the passed event matches the external
attribute of the method annotation.
If the method annotated to accept external
events, the event passed to the handler method must be produced outside of the Bounded Context to which the handling entity belongs.
And vice versa, if the event handling method is designed for domestic events, it does not accept external events.
See also
io. spine. core. External