Class MonitoringCommandHandlerInterceptor

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

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

Invoked by the InterceptingCommandBus.

Commands are only monitored when handled.

Since:
5.0.0
Author:
Jan Galinski