Interface IntegrationManagement
- All Superinterfaces:
DisposableBean,NamedComponent
- All Known Subinterfaces:
IntegrationInboundManagement
- All Known Implementing Classes:
AbstractAmqpChannel,AbstractAmqpOutboundEndpoint,AbstractCorrelatingMessageHandler,AbstractExecutorChannel,AbstractFetchLimitingMessageSource,AbstractHttpRequestExecutingMessageHandler,AbstractInboundFileSynchronizingMessageSource,AbstractInternetProtocolSendingMessageHandler,AbstractJmsChannel,AbstractKafkaChannel,AbstractMappingMessageRouter,AbstractMessageChannel,AbstractMessageHandler,AbstractMessageProducingHandler,AbstractMessageRouter,AbstractMessageSource,AbstractMessageSplitter,AbstractMongoDbMessageSource,AbstractMqttMessageHandler,AbstractPollableChannel,AbstractReactiveMessageHandler,AbstractRemoteFileOutboundGateway,AbstractRemoteFileStreamingMessageSource,AbstractReplyProducingMessageHandler,AbstractReplyProducingPostProcessingMessageHandler,AbstractSubscribableChannel,AbstractWebServiceInboundGateway,AbstractWebServiceOutboundGateway,AbstractXmppConnectionAwareMessageHandler,AggregatingMessageHandler,AmqpInboundGateway,AmqpMessageSource,AmqpOutboundEndpoint,AnnotationGatewayProxyFactoryBean,ApplicationEventPublishingMessageHandler,AsyncAmqpOutboundGateway,AttributePollingMessageSource,BarrierMessageHandler,BaseHttpInboundEndpoint,BridgeHandler,ByteStreamReadingMessageSource,ByteStreamWritingMessageHandler,CacheWritingMessageHandler,CharacterStreamReadingMessageSource,CharacterStreamWritingMessageHandler,ChatMessageSendingMessageHandler,ContentEnricher,CorrelatingMessageBarrier,DefaultMessageSplitter,DelayHandler,DirectChannel,ErrorMessageExceptionTypeRouter,ExecutorChannel,ExpressionEvaluatingMessageHandler,ExpressionEvaluatingMessageSource,ExpressionEvaluatingRouter,ExpressionEvaluatingSplitter,FeedEntryMessageSource,FileReadingMessageSource,FileSplitter,FileTransferringMessageHandler,FileWritingMessageHandler,FluxAggregatorMessageHandler,FluxMessageChannel,FtpInboundFileSynchronizingMessageSource,FtpMessageHandler,FtpOutboundGateway,FtpStreamingMessageSource,GatewayMessageHandler,GatewayProxyFactoryBean,HeaderValueRouter,HttpRequestExecutingMessageHandler,HttpRequestHandlingController,HttpRequestHandlingEndpointSupport,HttpRequestHandlingMessagingGateway,JdbcMessageHandler,JdbcOutboundGateway,JdbcPollingChannelAdapter,JmsDestinationPollingSource,JmsInboundGateway,JmsOutboundGateway,JmsSendingMessageHandler,JpaOutboundGateway,JpaPollingChannelAdapter,KafkaInboundGateway,KafkaMessageSource,KafkaProducerMessageHandler,LoggingHandler,MailReceivingMessageSource,MailSendingMessageHandler,MarshallingWebServiceInboundGateway,MarshallingWebServiceOutboundGateway,MBeanTreePollingMessageSource,MessageFilter,MessageHandlerChain,MessageHandlerSupport,MessageProcessorMessageSource,MessageTransformingHandler,MessagingGatewaySupport,MethodInvokingMessageHandler,MethodInvokingMessageSource,MethodInvokingRouter,MethodInvokingSplitter,MockMessageHandler,MongoDbMessageSource,MongoDbOutboundGateway,MongoDbStoringMessageHandler,MqttPahoMessageHandler,MulticastSendingMessageHandler,NotificationPublishingMessageHandler,NullChannel,OperationInvokingMessageHandler,PayloadTypeRouter,PointToPointSubscribableAmqpChannel,PollableAmqpChannel,PollableJmsChannel,PollableKafkaChannel,PresenceSendingMessageHandler,PriorityChannel,PublishSubscribeAmqpChannel,PublishSubscribeChannel,PublishSubscribeKafkaChannel,QueueChannel,R2dbcMessageHandler,R2dbcMessageSource,ReactiveMongoDbMessageSource,ReactiveMongoDbStoringMessageHandler,ReactiveRedisStreamMessageHandler,RecipientListRouter,RedisOutboundGateway,RedisPublishingMessageHandler,RedisQueueInboundGateway,RedisQueueOutboundChannelAdapter,RedisQueueOutboundGateway,RedisStoreMessageSource,RedisStoreWritingMessageHandler,RendezvousChannel,ReplyProducingMessageHandlerWrapper,ResequencingMessageHandler,ResourceRetrievingMessageSource,RmiInboundGateway,RmiOutboundGateway,RSocketInboundGateway,RSocketOutboundGateway,ScatterGatherHandler,ScriptExecutingMessageSource,ServiceActivatingHandler,SftpInboundFileSynchronizingMessageSource,SftpMessageHandler,SftpOutboundGateway,SftpStreamingMessageSource,SimpleWebServiceInboundGateway,SimpleWebServiceOutboundGateway,StompMessageHandler,StoredProcMessageHandler,StoredProcOutboundGateway,StoredProcPollingChannelAdapter,SubscribableJmsChannel,SubscribableKafkaChannel,SubscribableRedisChannel,TcpInboundGateway,TcpOutboundGateway,TcpSendingMessageHandler,UnicastSendingMessageHandler,WebFluxInboundEndpoint,WebFluxRequestExecutingMessageHandler,WebSocketOutboundMessageHandler,XPathMessageSplitter,XPathRouter,ZeroMqChannel,ZeroMqMessageHandler
public interface IntegrationManagement extends NamedComponent, DisposableBean
Base interface for Integration managed components.
- Since:
- 4.2
- Author:
- Gary Russell
-
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 StringMETER_PREFIXstatic StringRECEIVE_COUNTER_NAMEstatic StringSEND_TIMER_NAME -
Method Summary
Modifier and Type Method Description default voiddestroy()default StringgetManagedName()default 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(String managedName)default voidsetManagedType(String managedType)Methods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName, getComponentType
-
Field Details
-
METER_PREFIX
- See Also:
- Constant Field Values
-
SEND_TIMER_NAME
- See Also:
- Constant Field Values
-
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
Return whether logging is enabled.- Returns:
- true if enabled.
-
setManagedName
-
getManagedName
-
setManagedType
-
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 interfaceDisposableBean
-
getThisAs
default <T> T getThisAs()Return thisIntegrationManagementas its concrete type.- Type Parameters:
T- the type.- Returns:
- this.
- Since:
- 5.4
-