Chooses how the events of one named source are routed. It is returned by Projection.from, and each method returns the Projection with a new SourceBinding added. Handlers are attached afterwards with on.
Routes each event by a key that selector reads from it, so that events with the same key are applied to the same group. This makes the projection ProjectionScope.CrossEntity.
Routes each event by a key that selector reads from it, so that events with the same key are applied to the same group. This makes the projection ProjectionScope.CrossEntity.
Like routedBy, but picks the key with a field selector such as _.ownerId, checked at compile time. The field's value is turned into the key with toString.
Like routedBy, but picks the key with a field selector such as _.ownerId, checked at compile time. The field's value is turned into the key with toString.