Interface IntegrationManagement

All Superinterfaces:
org.springframework.beans.factory.DisposableBean, NamedComponent
All Known Subinterfaces:
IntegrationInboundManagement
All Known Implementing Classes:
AbstractCorrelatingMessageHandler, AbstractExecutorChannel, AbstractFetchLimitingMessageSource, AbstractMappingMessageRouter, AbstractMessageChannel, AbstractMessageHandler, AbstractMessageProducingHandler, AbstractMessageRouter, AbstractMessageSource, AbstractMessageSplitter, AbstractPollableChannel, AbstractReactiveMessageHandler, AbstractReplyProducingMessageHandler, AbstractReplyProducingPostProcessingMessageHandler, AbstractSubscribableChannel, AggregatingMessageHandler, AnnotationGatewayProxyFactoryBean, BarrierMessageHandler, BridgeHandler, ContentEnricher, CorrelatingMessageBarrier, DefaultMessageSplitter, DelayHandler, DirectChannel, ErrorMessageExceptionTypeRouter, ExecutorChannel, ExpressionEvaluatingMessageHandler, ExpressionEvaluatingMessageSource, ExpressionEvaluatingRouter, ExpressionEvaluatingSplitter, ExpressionMessageProducerSupport, FluxAggregatorMessageHandler, FluxMessageChannel, GatewayMessageHandler, GatewayProxyFactoryBean, HeaderValueRouter, LoggingHandler, MessageFilter, MessageHandlerChain, MessageHandlerSupport, MessageProcessorMessageSource, MessageProducerSupport, MessageTransformingHandler, MessagingGatewaySupport, MethodInvokingMessageHandler, MethodInvokingMessageSource, MethodInvokingRouter, MethodInvokingSplitter, NullChannel, PayloadTypeRouter, PriorityChannel, PublishSubscribeChannel, QueueChannel, ReactiveMessageSourceProducer, RecipientListRouter, RendezvousChannel, ReplyProducingMessageHandlerWrapper, ResequencingMessageHandler, ResourceRetrievingMessageSource, ScatterGatherHandler, ServiceActivatingHandler

public interface IntegrationManagement extends NamedComponent, org.springframework.beans.factory.DisposableBean
Base interface for Integration managed components.
Since:
4.2
  • Field Details

  • Method Details

    • setLoggingEnabled

      @ManagedAttribute(description="Use to disable debug logging during normal message flow") default void setLoggingEnabled(boolean enabled)
      Enable logging or not.
      Parameters:
      enabled - false to disable.
    • isLoggingEnabled

      @ManagedAttribute default boolean isLoggingEnabled()
      Return whether logging is enabled.
      Returns:
      true if enabled.
    • setManagedName

      default void setManagedName(String managedName)
    • getManagedName

      default String getManagedName()
    • setManagedType

      default void setManagedType(String managedType)
    • getManagedType

      default String getManagedType()
    • getOverrides

      @Nullable default IntegrationManagement.ManagementOverrides getOverrides()
      Return the overrides.
      Returns:
      the overrides.
      Since:
      5.0
    • registerMetricsCaptor

      default void registerMetricsCaptor(MetricsCaptor captor)
      Inject a MetricsCaptor. Ignored if ObservationRegistry is provided.
      Parameters:
      captor - the captor.
      Since:
      5.0.4
      See Also:
    • registerObservationRegistry

      default void registerObservationRegistry(io.micrometer.observation.ObservationRegistry observationRegistry)
      Inject an ObservationRegistry. If provided, the MetricsCaptor is ignored. The meters capturing has to be configured as an ObservationHandler on the provided ObservationRegistry.
      Parameters:
      observationRegistry - the ObservationRegistry to expose observations from the component.
      Since:
      6.0
      See Also:
    • isObserved

      default boolean isObserved()
      True if this implementation is going to deal with a registry other than the ObservationRegistry.NOOP instance.
      Returns:
      true if this implementation is going to deal with a registry other than the ObservationRegistry.NOOP instance.
      Since:
      6.0.1
    • destroy

      default void destroy()
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
    • getThisAs

      default <T> T getThisAs()
      Return this IntegrationManagement as its concrete type.
      Type Parameters:
      T - the type.
      Returns:
      this.
      Since:
      5.4