Skip navigation links
Spring Integration
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Enum Classes
  • Annotation Interfaces
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.integration.dsl.IntegrationFlows
    since version 6.0 in favor of fluent API methods straight from IntegrationFlow interface.
    org.springframework.integration.dsl.Pollers.fixedDelay(long, TimeUnit)
    since 6.0 in favor of Pollers.fixedDelay(Duration)
    org.springframework.integration.dsl.Pollers.fixedDelay(long, TimeUnit, long)
    since 6.0 in favor of Pollers.fixedDelay(Duration, Duration)
    org.springframework.integration.dsl.Pollers.fixedRate(long, TimeUnit)
    since 6.0 in favor of Pollers.fixedRate(Duration)
    org.springframework.integration.dsl.Pollers.fixedRate(long, TimeUnit, long)
    since 6.0 in favor of Pollers.fixedRate(Duration, Duration)
    org.springframework.integration.dsl.RouterSpec.noChannelKeyFallback()
    since 6.0 in favor of RouterSpec.channelKeyFallback(boolean)
    org.springframework.integration.mail.dsl.ImapIdleChannelAdapterSpec.sendingTaskExecutor(Executor)
    since 6.1 in favor of async hands-off downstream in the flow, e.g. ExecutorChannel.
    org.springframework.integration.mail.ImapIdleChannelAdapter.setSendingTaskExecutor(Executor)
    since 6.0.5 in favor of async hands-off downstream in the flow, e.g. ExecutorChannel.
    org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter.DEFAULT_COMPLETION_TIMEOUT
    org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter.DISCONNECT_COMPLETION_TIMEOUT
    org.springframework.integration.security.config.IntegrationSecurityNamespaceHandler
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
    org.springframework.integration.security.config.SecurityIntegrationConfigurationInitializer
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.integration.security.channel.ChannelAccessPolicy
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
  • Deprecated Classes
    Class
    Description
    org.springframework.integration.dsl.IntegrationFlows
    since version 6.0 in favor of fluent API methods straight from IntegrationFlow interface.
    org.springframework.integration.security.channel.ChannelInvocation
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
    org.springframework.integration.security.channel.ChannelSecurityInterceptor
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole()). However, the AuthorizationChannelInterceptor can be configured with any AuthorizationManager implementation.
    org.springframework.integration.security.channel.ChannelSecurityMetadataSource
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
    org.springframework.integration.security.channel.DefaultChannelAccessPolicy
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
    org.springframework.integration.security.config.ChannelSecurityInterceptorBeanPostProcessor
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
    org.springframework.integration.security.config.IntegrationSecurityNamespaceHandler
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
    org.springframework.integration.security.config.SecuredChannelsParser
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
    org.springframework.integration.security.config.SecurityIntegrationConfigurationInitializer
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
  • Deprecated Enum Classes
    Enum Class
    Description
    org.springframework.integration.mqtt.core.ConsumerStopAction
    since 5.5.17 in favor of standard MqttConnectOptions.setCleanSession(boolean). Will be removed in 6.1.0.
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.springframework.integration.security.channel.SecuredChannel
    since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
  • Deprecated Fields
    Field
    Description
    org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter.DEFAULT_COMPLETION_TIMEOUT
    org.springframework.integration.mqtt.inbound.AbstractMqttMessageDrivenChannelAdapter.DISCONNECT_COMPLETION_TIMEOUT
    org.springframework.integration.util.UUIDConverter.DEFAULT_CHARSET
    since 6.0.8 as it is not used internally by the UUIDConverter. The internal implementation relies on StandardCharsets.UTF_8 instead.
  • Deprecated Methods
    Method
    Description
    org.springframework.integration.context.IntegrationObjectSupport.getIntegrationProperty(String, Class<T>)
    in favor of IntegrationObjectSupport.getIntegrationProperties()
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply()
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(String)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(String, Function<Message<P>, Object>)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(String, Expression)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(Function<Message<P>, Object>)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(Expression)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(LoggingHandler.Level)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(LoggingHandler.Level, String)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(LoggingHandler.Level, String, String)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(LoggingHandler.Level, String, Function<Message<P>, Object>)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(LoggingHandler.Level, String, Expression)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(LoggingHandler.Level, Function<Message<P>, Object>)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.BaseIntegrationFlowDefinition.logAndReply(LoggingHandler.Level, Expression)
    since 6.0 in favor of BaseIntegrationFlowDefinition.log() in the end of flow.
    org.springframework.integration.dsl.Pollers.fixedDelay(long, TimeUnit)
    since 6.0 in favor of Pollers.fixedDelay(Duration)
    org.springframework.integration.dsl.Pollers.fixedDelay(long, TimeUnit, long)
    since 6.0 in favor of Pollers.fixedDelay(Duration, Duration)
    org.springframework.integration.dsl.Pollers.fixedRate(long, TimeUnit)
    since 6.0 in favor of Pollers.fixedRate(Duration)
    org.springframework.integration.dsl.Pollers.fixedRate(long, TimeUnit, long)
    since 6.0 in favor of Pollers.fixedRate(Duration, Duration)
    org.springframework.integration.dsl.RouterSpec.noChannelKeyFallback()
    since 6.0 in favor of RouterSpec.channelKeyFallback(boolean)
    org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec.tcpSocketSupport(TcpSocketSupport)
    in favor of AbstractConnectionFactorySpec.socketSupport(TcpSocketSupport).
    org.springframework.integration.mail.dsl.ImapIdleChannelAdapterSpec.sendingTaskExecutor(Executor)
    since 6.1 in favor of async hands-off downstream in the flow, e.g. ExecutorChannel.
    org.springframework.integration.mail.ImapIdleChannelAdapter.setSendingTaskExecutor(Executor)
    since 6.0.5 in favor of async hands-off downstream in the flow, e.g. ExecutorChannel.
    org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory.getConsumerStopAction()
    since 5.5.17 in favor of standard MqttConnectOptions.setCleanSession(boolean). Will be removed in 6.1.0.
    org.springframework.integration.mqtt.core.DefaultMqttPahoClientFactory.setConsumerStopAction(ConsumerStopAction)
    since 5.5.17 in favor of standard MqttConnectOptions.setCleanSession(boolean). Will be removed in 6.1.0.
    org.springframework.integration.mqtt.core.MqttPahoClientFactory.getConsumerStopAction()
    since 5.5.17 in favor of standard MqttConnectOptions.setCleanSession(boolean). Will be removed in 6.1.0.
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.integration.ip.dsl.TcpClientConnectionFactorySpec(String, int)
    since 6.0.3; use a subclass.
    org.springframework.integration.ip.dsl.TcpClientConnectionFactorySpec(String, int, boolean)
    since 6.0.3; use a subclass.
    org.springframework.integration.ip.dsl.TcpServerConnectionFactorySpec(int)
    since 6.0.3; use a subclass.
    org.springframework.integration.ip.dsl.TcpServerConnectionFactorySpec(int, boolean)
    since 6.0.3; use a subclass.