[DISCUSS] Add method for each Akka message

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[DISCUSS] Add method for each Akka message

Ufuk Celebi-2
Hey all,

I currently find it a little bit frustrating to navigate between different task manager operations like cancel or submit task. Some of these operations are directly done in the event loop (e.g. cancelling), whereas others forward the msg to a method (e.g. submitting).

For me, navigating to methods is way easier than manually scanning the event loop.

Therefore, I would prefer to forward all messages to a corresponding method. Can I get some opinions on this? Would someone be opposed? [Or is there a way in IntelliJ to do this navigation more efficiently? I couldn't find anything.]

– Ufuk
Reply | Threaded
Open this post in threaded view
|

Re: [DISCUSS] Add method for each Akka message

Stephan Ewen
+1, let's change this lazily whenever we work on an action/message, we pull
the handling out into a dedicated method.

On Tue, Mar 10, 2015 at 11:49 AM, Ufuk Celebi <[hidden email]> wrote:

> Hey all,
>
> I currently find it a little bit frustrating to navigate between different
> task manager operations like cancel or submit task. Some of these
> operations are directly done in the event loop (e.g. cancelling), whereas
> others forward the msg to a method (e.g. submitting).
>
> For me, navigating to methods is way easier than manually scanning the
> event loop.
>
> Therefore, I would prefer to forward all messages to a corresponding
> method. Can I get some opinions on this? Would someone be opposed? [Or is
> there a way in IntelliJ to do this navigation more efficiently? I couldn't
> find anything.]
>
> – Ufuk
Reply | Threaded
Open this post in threaded view
|

Re: [DISCUSS] Add method for each Akka message

Henry Saputra
+1 for the idea too. Should make it easier to trace/ debug.


- Henry

On Tue, Mar 10, 2015 at 5:45 AM, Stephan Ewen <[hidden email]> wrote:

> +1, let's change this lazily whenever we work on an action/message, we pull
> the handling out into a dedicated method.
>
> On Tue, Mar 10, 2015 at 11:49 AM, Ufuk Celebi <[hidden email]> wrote:
>
>> Hey all,
>>
>> I currently find it a little bit frustrating to navigate between different
>> task manager operations like cancel or submit task. Some of these
>> operations are directly done in the event loop (e.g. cancelling), whereas
>> others forward the msg to a method (e.g. submitting).
>>
>> For me, navigating to methods is way easier than manually scanning the
>> event loop.
>>
>> Therefore, I would prefer to forward all messages to a corresponding
>> method. Can I get some opinions on this? Would someone be opposed? [Or is
>> there a way in IntelliJ to do this navigation more efficiently? I couldn't
>> find anything.]
>>
>> – Ufuk