Interceptor for messages

33 views
Skip to first unread message

Maurice Gehin

unread,
May 21, 2018, 12:26:51 PM5/21/18
to Axon Framework Users
Hi,

I'm working with a distributed command bus, and i have many client applications generating commands, and command handlers receiving the commands in other applications.
I would like to add a read-only observer to all the communication going on to log, do statistical analysis, etc.
If i had a SimpleCommandBus, i think i could have achieved this using a HandlerInterceptor.

Is my use case supported by Axon? If yes, what's the mechanism?

Thanks
Maurice

milan...@axoniq.io

unread,
May 22, 2018, 3:06:13 AM5/22/18
to Axon Framework Users
Hi Mauirce,

There is an axon-metrics module which you can add to your dependencies in order to monitor messages. It is dependent on io.dropwizard.metrics.

Let us know if this is sufficient for you.

Cheers,
Milan.

Maurice Gehin

unread,
May 22, 2018, 2:45:39 PM5/22/18
to Axon Framework Users
Thanks for the pointer. I will look at it.
Reply all
Reply to author
Forward
0 new messages