Hi Guys,
In Axon 4.2 MessageHandlerInterceptor, it seem to intercept any and every command.
I need to add some additional checks on certain type of commands to see whether it is should be allowed to proceed.
I would prefer to register an interceptor per command type.Will I need to have a load of instanceof
if-statements in a single interceptor? Does anyone have a good example?
PS: My previous question was unanswered, (https://groups.google.com/forum/#!topic/axonframework/dvplEKhI62w). Most likely this query will go under the radar as well…!!! any how trying my luck!!
Cheers!!
Roy