title: Get target/recipient of Akka ask
body: <p>I'm using the following snippet of code in my Akka classic project.</p>
  <pre><code>(persistence ? Persist(&quot;a&quot;, Some(100), 123)) (100.milliseconds)
    .mapTo[Persisted]
    .recover(ex =&gt; Failure(ex.getMessage()))
    .pipeTo(self)
  </code></pre>
  <p>When I handle the success response of this <code>ask</code> then the sender is <code>self</code>. How can I get the sender of the response to this <code>ask</code>? In other words, how can I get the address of the target/ recipient actor here?</p>
  <p>Edit:</p>
  <p>It's quite obvious that <code>persistence</code> is the target of the ask. But what I really want to know is if there's a way to have <code>persistence</code> address be available through the <code>pipeTo</code>. Let's say there is an array of <code>persistence</code> than I wouldn't know which <code>Persist</code> message came from which <code>persistence</code>.</p>