External

public @interface External

Marks a handler method parameter to be of an external origin.

External messages are messages originated in a different Bounded Context.

Events (including Rejections) and entity states may be external.

Annotate the first parameter of the handler method with @External to make the handler accept external messages. By default, any message handler accepts domestic messages.

See also

Inherited functions

Link copied to clipboard
public abstract Class<? extends Annotation> annotationType()
Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()