/** * Configures the builder function to create the Message Monitor for the {@link EventProcessor} of the given name. * This overrides any Message Monitor configured through {@link Configurer}. * * @param name The name of the event processor * @param messageMonitorBuilder The builder function to use * @return this EventHandlingConfiguration instance for further configuration * @deprecated use {@link EventProcessingConfiguration#configureMessageMonitor(String, Function)} instead */ @Deprecated public EventHandlingConfiguration configureMessageMonitor(String name, Function<Configuration, MessageMonitor<Message<?>>> messageMonitorBuilder) { return configureMessageMonitor( name, (configuration, componentType, componentName) -> messageMonitorBuilder.apply(configuration) ); }