title: Future in akka message
body: <p>good day,everyone. 
  i have some question about how bad is setting CompletableFuture in mesage from one actor to another and use get() to wait for it compleation. i have code example that i think is too complex to use in practice, but cant find any sutable arguments to advice to refactor it</p>
  
  <p>code that send msg with future</p>
  
  <pre><code>private void onSomeSignal(SomeMsg smsg){
     MessageToActor msg = new MessageToActor()
     future = new CompletableFuture&lt;&gt;();
     msg.setFuture(future);
     actortRef.tell(msg, null);
     response = future.get(2, TimeUnit.SECONDS);
     /* do something with responce*/
  }
  </code></pre>
  
  <p>code that complete future (in another actor)</p>
  
  <pre><code>private void onSomeSignal(MessageToActor msg){
     response = responseService.getResponse();
     msg.getFuture().complete(response);
  }
  
  </code></pre>
  
  <p>is something wrong here , except that future.get() is blocking operation</p>