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
,FluxAggregatorMessageHandler
,FluxMessageChannel
,GatewayMessageHandler
,GatewayProxyFactoryBean
,HeaderValueRouter
,LoggingHandler
,MessageFilter
,MessageHandlerChain
,MessageHandlerSupport
,MessageProcessorMessageSource
,MessageTransformingHandler
,MessagingGatewaySupport
,MethodInvokingMessageHandler
,MethodInvokingMessageSource
,MethodInvokingRouter
,MethodInvokingSplitter
,NullChannel
,PayloadTypeRouter
,PriorityChannel
,PublishSubscribeChannel
,QueueChannel
,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
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IntegrationManagement.ManagementOverrides
Toggles to inform the management configurer to not set these properties since the user has manually configured them in a bean definition. -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
METER_PREFIX
static java.lang.String
RECEIVE_COUNTER_NAME
static java.lang.String
SEND_TIMER_NAME
-
Method Summary
Modifier and Type Method Description default void
destroy()
default java.lang.String
getManagedName()
default java.lang.String
getManagedType()
default IntegrationManagement.ManagementOverrides
getOverrides()
Return the overrides.default <T> T
getThisAs()
Return thisIntegrationManagement
as its concrete type.default boolean
isLoggingEnabled()
Return whether logging is enabled.default void
registerMetricsCaptor(MetricsCaptor captor)
Inject aMetricsCaptor
.default void
setLoggingEnabled(boolean enabled)
Enable logging or not.default void
setManagedName(java.lang.String managedName)
default void
setManagedType(java.lang.String managedType)
Methods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName, getComponentType
-
Field Details
-
METER_PREFIX
static final java.lang.String METER_PREFIX- See Also:
- Constant Field Values
-
SEND_TIMER_NAME
static final java.lang.String SEND_TIMER_NAME- See Also:
- Constant Field Values
-
RECEIVE_COUNTER_NAME
static final java.lang.String RECEIVE_COUNTER_NAME- See Also:
- Constant Field Values
-
-
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
- dalse to disable.
-
isLoggingEnabled
@ManagedAttribute default boolean isLoggingEnabled()Return whether logging is enabled.- Returns:
- true if enabled.
-
setManagedName
default void setManagedName(java.lang.String managedName) -
getManagedName
default java.lang.String getManagedName() -
setManagedType
default void setManagedType(java.lang.String managedType) -
getManagedType
default java.lang.String getManagedType() -
getOverrides
Return the overrides.- Returns:
- the overrides.
- Since:
- 5.0
-
registerMetricsCaptor
Inject aMetricsCaptor
.- Parameters:
captor
- the captor.- Since:
- 5.0.4
-
destroy
default void destroy()- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-
getThisAs
default <T> T getThisAs()Return thisIntegrationManagement
as its concrete type.- Type Parameters:
T
- the type.- Returns:
- this.
- Since:
- 5.4
-