# Akka Typed sender() workaround

**URL:** <https://discuss.akka.io/t/akka-typed-sender-workaround/6025>\
**Category:** Akka Streams & Alpakka\
**Tags:** akka-typed, streams\
**Created:** [February 28, 2020, 11:03am UTC](https://discuss.akka.io/t/akka-typed-sender-workaround/6025 "2020-02-28T11:03:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Al](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@Al](https://discuss.akka.io/u/Al)\
**Post date:** [February 28, 2020, 11:03am UTC](https://discuss.akka.io/t/akka-typed-sender-workaround/6025/1 "2020-02-28T11:03:38Z")

</div>

Is it possible to get the `sender()` inside `Behavior` for interop with classic actors, when I can’t send the sender with a message.  
For example, in `ActorSink.actorRef[Message](actor, Message)`

---

<div class="post-metadata">

**Author:** ![johanandren](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/johanandren/32/85_2.png) [@johanandren](https://discuss.akka.io/u/johanandren)\
**Post date:** [February 28, 2020, 12:46pm UTC](https://discuss.akka.io/t/akka-typed-sender-workaround/6025/2 "2020-02-28T12:46:01Z")

</div>

That is not possible, you have to change the message to include a replyTo/sender field.

If the interaction is not performance sensitive you could perhaps introduce an intermediate classic actor which puts `sender()` in a field in a new message.
