Class MonitoringQueryHandlerInterceptor

java.lang.Object
org.axonframework.messaging.monitoring.interception.MonitoringQueryHandlerInterceptor
All Implemented Interfaces:
MessageHandlerInterceptor<QueryMessage>

public class MonitoringQueryHandlerInterceptor extends Object implements MessageHandlerInterceptor<QueryMessage>
A MessageHandlerInterceptor for QueryMessage that intercepts the MessageHandlerInterceptorChain to register the MessageMonitor.MonitorCallback functions on the ProcessingContext hooks.

Invoked by the InterceptingQueryBus.

Events are only monitored when handled.

Since:
5.0.0
Author:
Jan Galinski