final case class ConsistentHashableEnvelope(message: Any, hashKey: Any) extends ConsistentHashable with RouterEnvelope with WrappedMessage with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConsistentHashableEnvelope
- Serializable
- Product
- Equals
- RouterEnvelope
- WrappedMessage
- ConsistentHashable
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def consistentHashKey: Any
- Definition Classes
- → ConsistentHashable
- val hashKey: Any
- val message: Any
- Definition Classes
- → → WrappedMessage
- def productElementNames: Iterator[String]
- Definition Classes
- Product
If you don't define the
hashMapping
when 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.