public static ExternalMessage
of(Command command, BoundedContextName origin) Wraps the instance of Command into an ExternalMessage
.
public static ExternalMessage
of(Event event, BoundedContextName origin) Wraps the instance of Event into an ExternalMessage
.