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

Deprecated API

Contents

  • Classes
  • Enum Classes
  • Fields
  • Methods
  • Constructors
  • Annotation Interface Elements
  • Deprecated Classes
    Class
    Description
    org.springframework.integration.aop.AbstractMessageSourceAdvice
    since 5.3 in favor of MessageSourceMutator.
    org.springframework.integration.aop.SimpleActiveIdleMessageSourceAdvice
    since 5.3 in favor of SimpleActiveIdleReceiveMessageAdvice with the same (but more common) functionality.
    org.springframework.integration.channel.MessageChannelReactiveUtils
    since 5.3 in favor of IntegrationReactiveUtils.
    org.springframework.integration.monitor.ManagedEndpoint
    this is no longer used by the framework. Replaced by ManageableLifecycle.
    org.springframework.integration.rmi.config.RmiInboundGatewayParser
    since 5.4 with no replacement.
    org.springframework.integration.rmi.config.RmiNamespaceHandler
    since 5.4 with no replacement.
    org.springframework.integration.rmi.config.RmiOutboundGatewayParser
    since 5.4 with no replacement.
    org.springframework.integration.rmi.RmiInboundGateway
    since 5.4 with no replacement.
    org.springframework.integration.rmi.RmiOutboundGateway
    since 5.4 with no replacement.
    org.springframework.integration.test.mail.TestMailServer
    since 5.5 in favor of GreenMail library for mail testing.
    org.springframework.integration.util.JavaUtils
    since 5.5.6 in favor of JavaUtils.
  • 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 Fields
    Field
    Description
    org.springframework.integration.config.IntegrationConfigUtils.BASE_PACKAGE
    in favor of IntegrationContextUtils.BASE_PACKAGE.
    org.springframework.integration.context.IntegrationContextUtils.DISPOSABLES_BEAN_NAME
    since 5.5.7 - out of use.
  • Deprecated Methods
    Method
    Description
    org.springframework.integration.amqp.outbound.AbstractAmqpOutboundEndpoint.buildReturnedMessage(Message, int, String, String, String, MessageConverter)
    since 5.4 in favor of AbstractAmqpOutboundEndpoint.buildReturnedMessage(ReturnedMessage, MessageConverter)
    org.springframework.integration.amqp.outbound.AbstractAmqpOutboundEndpoint.CorrelationDataWrapper.setReturnedMessage(Message)
    org.springframework.integration.aop.CompoundTriggerAdvice.afterReceive(Message<?>, MessageSource<?>)
    since 5.3 in favor of CompoundTriggerAdvice.afterReceive(Message, Object)
    org.springframework.integration.config.EnableIntegrationManagement.defaultCountsEnabled()
    this property is no longer used.
    org.springframework.integration.config.EnableIntegrationManagement.metersEnabled()
    this property is no longer used.
    org.springframework.integration.context.IntegrationObjectSupport.getIntegrationProperties()
    since version 5.5 in favor of IntegrationObjectSupport.getIntegrationProperty(String, Class); will be replaced with IntegrationProperties variant in the next major version.
    org.springframework.integration.dsl.CorrelationHandlerSpec.setExpireDuration(Duration)
    since 5.5 in favor of CorrelationHandlerSpec.expireDuration(Duration)
    org.springframework.integration.dsl.CorrelationHandlerSpec.setExpireTimeout(long)
    since 5.5 in favor of CorrelationHandlerSpec.expireTimeout(long)
    org.springframework.integration.file.remote.session.DefaultSessionFactoryLocator.addSessionFactory(String, SessionFactory<F>)
    since 5.3 in favor of DefaultSessionFactoryLocator.addSessionFactory(Object, SessionFactory)
    org.springframework.integration.ftp.dsl.Ftp.outboundAdapter(RemoteFileTemplate<FTPFile>)
    in favor of Ftp.outboundAdapter(FtpRemoteFileTemplate)
    org.springframework.integration.ftp.dsl.Ftp.outboundAdapter(RemoteFileTemplate<FTPFile>, FileExistsMode)
    in favor of Ftp.outboundAdapter(FtpRemoteFileTemplate, FileExistsMode)
    org.springframework.integration.jms.dsl.JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec.destination(String)
    since 5.5 in favor of JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec.requestDestination(String)
    org.springframework.integration.jms.dsl.JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec.destination(Destination)
    since 5.5 in favor of JmsInboundGatewaySpec.JmsInboundGatewayListenerContainerSpec.requestDestination(Destination)
    org.springframework.integration.kafka.dsl.KafkaMessageListenerContainerSpec.errorHandler(GenericErrorHandler<?>)
    - will be replaced in 6.0 with CommonErrorHandler.
    org.springframework.integration.monitor.IntegrationMBeanExporter.getActiveHandlerCount()
    org.springframework.integration.monitor.IntegrationMBeanExporter.getActiveHandlerCountLong()
    org.springframework.integration.monitor.IntegrationMBeanExporter.getChannelMetrics(String)
    org.springframework.integration.monitor.IntegrationMBeanExporter.getHandlerMetrics(String)
    org.springframework.integration.monitor.IntegrationMBeanExporter.getSourceMetrics(String)
    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.
    org.springframework.integration.rsocket.ClientRSocketConnector.getRSocketRequester()
    since 5.4 in favor of ClientRSocketConnector.getRequester()
    org.springframework.integration.sftp.dsl.Sftp.outboundAdapter(RemoteFileTemplate<ChannelSftp.LsEntry>)
    in favor of Sftp.outboundAdapter(SftpRemoteFileTemplate)
    org.springframework.integration.sftp.dsl.Sftp.outboundAdapter(RemoteFileTemplate<ChannelSftp.LsEntry>, FileExistsMode)
    in favor of Sftp.outboundAdapter(SftpRemoteFileTemplate,FileExistsMode)
    org.springframework.integration.sftp.session.DefaultSftpSessionFactory.setKnownHosts(String)
    since 5.2.5 in favor of DefaultSftpSessionFactory.setKnownHostsResource(Resource)
    org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.loadCaptor(ApplicationContext)
    since 5.2.9 in favor of @Import(MicrometerMetricsCaptorRegistrar.class); will be removed in 6.0.
    org.springframework.integration.test.util.TestUtils.dockerRegistryFromEnv()
    since 5.5.13 in favor of standard TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX ENV var
    org.springframework.integration.util.ClassUtils.isKotlinFaction0(Class<?>)
    since 5.5.14 in favor of ClassUtils.isKotlinFunction0(Class)
    org.springframework.integration.util.ClassUtils.isKotlinFaction1(Class<?>)
    since 5.5.14 in favor of ClassUtils.isKotlinFunction1(Class)
    org.springframework.integration.ws.AbstractWebServiceOutboundGateway.setEncodeUri(boolean)
    since 5.3 in favor of AbstractWebServiceOutboundGateway.setEncodingMode(org.springframework.web.util.DefaultUriBuilderFactory.EncodingMode)
    org.springframework.integration.ws.AbstractWebServiceOutboundGateway.setMessageSender(WebServiceMessageSender)
    in favor of AbstractWebServiceOutboundGateway.setMessageSenders(WebServiceMessageSender...)
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.integration.amqp.support.ManualAckListenerExecutionFailedException(String, Throwable, Message, Channel, long)
    in favor of ManualAckListenerExecutionFailedException(String, Throwable, Channel, long, Message...).
    org.springframework.integration.ftp.dsl.FtpMessageHandlerSpec(RemoteFileTemplate<FTPFile>)
    org.springframework.integration.ftp.dsl.FtpMessageHandlerSpec(RemoteFileTemplate<FTPFile>, FileExistsMode)
    org.springframework.integration.ftp.outbound.FtpMessageHandler(RemoteFileTemplate<FTPFile>, FileExistsMode)
    in favor of FtpMessageHandler(FtpRemoteFileTemplate, FileExistsMode)
    org.springframework.integration.sftp.dsl.SftpMessageHandlerSpec(RemoteFileTemplate<ChannelSftp.LsEntry>)
    org.springframework.integration.sftp.dsl.SftpMessageHandlerSpec(RemoteFileTemplate<ChannelSftp.LsEntry>, FileExistsMode)
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    org.springframework.integration.config.EnableIntegrationManagement.defaultCountsEnabled()
    this property is no longer used.
    org.springframework.integration.config.EnableIntegrationManagement.metersEnabled()
    this property is no longer used.