core-java icon indicating copy to clipboard operation
core-java copied to clipboard

Commander methods on behalf of another user

Open alexander-yevsyukov opened this issue 6 years ago • 0 comments

Now we user the ActorContext of incoming message for obtaining a user ID on behalf of whom a command would be generated.

We need to support a way for setting another user ID via the following construct:

   actOnBehalf(userId, () -> { return MyCommandMessage.newBuilder() ... .build(); } );

alexander-yevsyukov avatar Aug 17 '18 14:08 alexander-yevsyukov