Message handlers and error handling

Tom Zeller tzeller at dragonacea.biz
Tue Apr 15 12:02:21 EDT 2014


>>As you originally suggested, injecting the Event ID as a property of a
>>handler is fine with me.
>
> I can live with it (and it's certainly less work), but I suspect we'll run
> into cases where handlers throw exceptions in cases that mean different
> things to the overall flow. But I haven't looked (and certainly handlers
> are meant to be discrete to the point of not doing this).

Fine for now, every decision seems like triage.

> The other problem is that the handler chains wrap the handlers and would
> hide the individual events too.

Right ... I have been wondering if handler chains should be sub-flows
instead. Not sure that is possible or helps us here.


More information about the dev mailing list