inboxStateType

protected TypeUrl inboxStateType()

Returns the custom type URL for Mirror type to use during the Inbox registration in Delivery.

The prefix part in the resulting type URL includes the name of the Bounded Context in which this repository is registered.

It is a workaround preventing some known issues of delivering signals to Mirror instances in an application consisting of several Bounded Contexts. As long as each of the Bounded Contexts may have their own Mirror as a system entity, application-wide Delivery must have a way to distinguish the inboxes for each of such Mirror entity types. Inserting the name of the Bounded Context into the type URL helps to achieve this goal.

This type URL must be used solely for Inbox-specific set up, and must not be associated with any entity state types, since its "prefix" part is customized.

Please note, this feature along with Mirror itself is removed in Spine 2.x.