There's a CommandHandlerInterceptor interface one can use to wrap command handlers in additional behavior. Is there something similar for event handlers, specifically saga event handlers?
My use case: I'd like to wrap my saga event handlers in an interceptor that adds the saga's identifier and/or the event's association value to the logger's diagnostic context and removes it when the event handler finishes. I'd also like to record/log the payloads of any events whose handlers throw exceptions.
Obviously this can be done in the event handlers themselves, but that muddies up the code. I can also do it with AspectJ or something similar (which is my current plan) but I figure it's worth making sure there's no native Axon support for it already.
-Steve