We are in the process of adding akka.net actors to part of a legacy system.
The basic idea is that a message comes in from an external system, it is handed off to a logic that is managed by akka.net actors which then talk to legacy components that do things like save data to the database.
The legacy code relies on the fact that a userId is set in the CallContext, which it can then retrieve before doing database writes (to store things like "CreatedBy" and "LastModifiedBy"). It seems clear that the CallContext will not be available once the message is passed through the actor system.
This seems like it would be a common problem/requirement, but I've been unable to find this question via google or looking through the akka/akka.net discussion groups.
Is there a concept of a contextual wrapper/envelope in akka.net, or is my only option to make the passing of contextual information an explicit part of the message?