Create akka message listener without extending Actor class
<p>As I have seen from samples that one should be an actor in order to catch a message. But I need a custom listener in order to listen messages without creating a new actor class etc. I want something like this:</p>

<pre><code>throw message

listen Response{
   ...
}
</code></pre>

<p>Any usage like that?</p>

<p>Thx</p>

<p>EDIT:  My purpose is to write a CEP and this CEP will need some business scenarios in order to produce outputs. So a scenario like this will occur:</p>

<p>Check if customer.internetusage>1000
check if quota exceeded
fraud check
...</p>

<p>This needs to be injected at runtime so I need a kind of structure in order to write a scenario like above.</p>