Package org.axonframework.config
Interface MessageMonitorFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface describing a factory for a Message Monitor.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(Configuration configuration, Class<?> componentType, String componentName) Function to create a Message Monitor based on the given configuration, component type and component name.
-
Method Details
-
create
MessageMonitor<Message<?>> create(Configuration configuration, Class<?> componentType, String componentName) Function to create a Message Monitor based on the given configuration, component type and component name.- Parameters:
configuration- The global configuration the implementation may use to obtain dependenciescomponentType- The type of the component for which the Message Monitor must be createdcomponentName- The name of the component for which the Message Monitor must be created- Returns:
- the Message Monitor for the component
-