(consistentHashableEnvelope: StringAdd).self
(consistentHashableEnvelope: StringFormat).self
(consistentHashableEnvelope: ArrowAssoc[ConsistentHashableEnvelope]).x
(Since version 2.10.0) Use leftOfArrow instead
(consistentHashableEnvelope: Ensuring[ConsistentHashableEnvelope]).x
(Since version 2.10.0) Use resultOfEnsuring instead
If you don't define the
hashMappingwhen constructing the akka.routing.ConsistentHashingRouter and messages can't implement akka.routing.ConsistentHashingRouter.ConsistentHashable themselves they can we wrapped by this envelope instead. The router will only send the wrapped message to the destination, i.e. the envelope will be stripped off.