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 classIntegrationManagement.ManagementOverridesToggles 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.StringMETER_PREFIXstatic java.lang.StringRECEIVE_COUNTER_NAMEstatic java.lang.StringSEND_TIMER_NAME -
Method Summary
Modifier and Type Method Description default voiddestroy()default java.lang.StringgetManagedName()default java.lang.StringgetManagedType()default IntegrationManagement.ManagementOverridesgetOverrides()Return the overrides.default <T> TgetThisAs()Return thisIntegrationManagementas its concrete type.default booleanisLoggingEnabled()Return whether logging is enabled.default voidregisterMetricsCaptor(MetricsCaptor captor)Inject aMetricsCaptordefault voidsetLoggingEnabled(boolean enabled)Enable logging or not.default voidsetManagedName(java.lang.String managedName)default voidsetManagedType(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:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
getThisAs
default <T> T getThisAs()Return thisIntegrationManagementas its concrete type.- Type Parameters:
T- the type.- Returns:
- this.
- Since:
- 5.4
-