prepareMessageFor

abstract fun prepareMessageFor(receiverId: ID, factory: MessageFactory<ID, *> = InMemoryMessageFactory()): Message<ID, Any?>

Extract the message for the receiverId through the given factory.

One the OutboundEnvelope is created, this method extracts the message to send to the receiverId.