Gary sonar branch

Build: #137 was successful Manual run by Artem Bilan

Code commits

Plan Repository

  • Artem Bilan

    Artem Bilan b1e2f8fd8bfb6f62ae2d0ada903af3cca2fe9261

    Fix new Sonar smells for `GatewayProxyFactoryBean`

    • spring-integration-core/src/main/java/org/springframework/integration/dsl/GatewayProxySpec.java (version b1e2f8fd8bfb6f62ae2d0ada903af3cca2fe9261)
    • spring-integration-core/src/main/java/org/springframework/integration/gateway/GatewayMethodInboundMessageMapper.java (version b1e2f8fd8bfb6f62ae2d0ada903af3cca2fe9261)
    • spring-integration-core/src/main/java/org/springframework/integration/gateway/GatewayProxyFactoryBean.java (version b1e2f8fd8bfb6f62ae2d0ada903af3cca2fe9261)
    • spring-integration-core/src/main/java/org/springframework/integration/gateway/MessagingGatewaySupport.java (version b1e2f8fd8bfb6f62ae2d0ada903af3cca2fe9261)
  • Spring Buildmaster

    Spring Buildmaster a041546e677359af8ed8c6b1c66044e6ffb7cbb4

    [artifactory-release] Next development version

    • gradle.properties (version a041546e677359af8ed8c6b1c66044e6ffb7cbb4)
  • Spring Buildmaster

    Spring Buildmaster 9e82481f348df94605098c57e7734ea54dd05948

    [artifactory-release] Release version 5.2.0.RC1

    • gradle.properties (version 9e82481f348df94605098c57e7734ea54dd05948)
  • Artem Bilan

    Artem Bilan 29bebdba97fdf069e371a79d627de538831f9b42

    GH-3047: Add GatewayProxySpec for Java DSL
    Fixes https://github.com/spring-projects/spring-integration/issues/3047

    * Improve `GatewayProxyFactoryBean` to determine the return type of the
    method call from the interface generic types, when the `serviceInterface`
    is a `java.util.function.Function`
    * Propagate `MethodArgsHolder` as a `rootObject` for SpEL evaluations
    * Deprecate `#gatewayMethod` and `#args` evaluation context variables
    in favor of `MethodArgsHolder` as root object.
    They will be removed in the future release and a single
    `EvaluationContext` will be used for all the gateway expressions
    * Introduce an
    `IntegrationFlows.from(Class<?> serviceInterface, Consumer<GatewayProxySpec> endpointConfigurer)`
    to allow to configure any valid gateway proxy options similar to what
    we have with the `<gateway>` and `@MessagingGateway`.
    This way we are very close to consistency between different approaches

    * * Remove `default` prefix from `GatewayProxySpec` options
    * Document the change

    • spring-integration-core/src/main/java/org/springframework/integration/config/MessagingGatewayRegistrar.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/config/xml/GatewayParser.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/dsl/GatewayProxySpec.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationFlowAdapter.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationFlows.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/gateway/AnnotationGatewayProxyFactoryBean.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/gateway/GatewayMethodInboundMessageMapper.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/gateway/GatewayMethodMetadata.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/main/java/org/springframework/integration/gateway/GatewayProxyFactoryBean.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/test/java/org/springframework/integration/config/xml/GatewayParserTests-context.xml (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/test/java/org/springframework/integration/config/xml/GatewayParserTests.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/flows/IntegrationFlowTests.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/gateway/GatewayDslTests.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • spring-integration-core/src/test/java/org/springframework/integration/gateway/GatewayMethodInboundMessageMapperToMessageTests.java (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • src/reference/asciidoc/dsl.adoc (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • src/reference/asciidoc/gateway.adoc (version 29bebdba97fdf069e371a79d627de538831f9b42)
    • src/reference/asciidoc/whats-new.adoc (version 29bebdba97fdf069e371a79d627de538831f9b42)
  • Artem Bilan

    Artem Bilan c668a046e1200b55a320d96f69627dae24d89db6

    Upgrade dependencies to the stable Milestones
    * Prepare for release

    • build.gradle (version c668a046e1200b55a320d96f69627dae24d89db6)
  • Artem Bilan

    Artem Bilan b9478ace95c5b799295dd8a6c0dfb54d428400e7

    Upgrade dependencies; fix some typos in docs

    • build.gradle (version b9478ace95c5b799295dd8a6c0dfb54d428400e7)
    • gradle/wrapper/gradle-wrapper.properties (version b9478ace95c5b799295dd8a6c0dfb54d428400e7)
    • gradlew (version b9478ace95c5b799295dd8a6c0dfb54d428400e7)
    • src/reference/asciidoc/endpoint.adoc (version b9478ace95c5b799295dd8a6c0dfb54d428400e7)
  • Artem Bilan

    Artem Bilan 9a43726ca7d309946907bf5ad86ff114d8441da0

    Fix new Sonar smell

    • spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java (version 9a43726ca7d309946907bf5ad86ff114d8441da0)
  • Artem Bilan

    Artem Bilan e2d891a32d7616fc13f5691e072fe1ce4f38c492

    Fix new Sonar smells

    • spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java (version e2d891a32d7616fc13f5691e072fe1ce4f38c492)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGateway.java (version e2d891a32d7616fc13f5691e072fe1ce4f38c492)
  • Artem Bilan

    Artem Bilan a95c76e4d7ae9b26c5fed2b79c77307318c65bb3

    RSocket requests: Add per message metadata support
    * Use convenient `Consumer` API to avoid external iteration for
    `setupMetadata` in the `ClientRSocketConnector`
    * Add `routeVars` and `metadata` support into the `RSocketOutboundGateway`
    * Cover new options in the XML and Java DSL configurations

    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ClientRSocketConnector.java (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/config/RSocketOutboundGatewayParser.java (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/dsl/RSocketOutboundGatewaySpec.java (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/dsl/RSockets.java (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGateway.java (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
    • spring-integration-rsocket/src/main/resources/org/springframework/integration/rsocket/config/spring-integration-rsocket-5.2.xsd (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/config/RSocketOutboundGatewayParserTests-context.xml (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/config/RSocketOutboundGatewayParserTests.java (version a95c76e4d7ae9b26c5fed2b79c77307318c65bb3)
  • Artem Bilan

    Artem Bilan 444c1f9913d2650d4ffc4362cc4e2615f997eb4f

    RSocket: Add support for RoutingMetadata
    Related to https://github.com/spring-projects/spring-framework/issues/23137

    The metadata in Spring Messaging for RSockets now supports any
    arbitrary objects for setup payload, including composition.

    * Switch the `ClientRSocketConnector` to fully delegate to the
    `RSocketRequester.Builder` inheriting possible metadata encoding/decoding
    in the target `RSocketRequester` implementation
    * Turn off a default `dataMimeType` from the `MimeTypeUtils.TEXT_PLAIN`
    to the `null` by default relying on the encoder/decoder logic in the
    target RSocket wrappers
    * Expose more delegating options in the `ClientRSocketConnector`, like
    `setupRouteVars`,  `setupMetadata`

    • build.gradle (version 444c1f9913d2650d4ffc4362cc4e2615f997eb4f)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/AbstractRSocketConnector.java (version 444c1f9913d2650d4ffc4362cc4e2615f997eb4f)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ClientRSocketConnector.java (version 444c1f9913d2650d4ffc4362cc4e2615f997eb4f)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/inbound/RSocketInboundGatewayIntegrationTests.java (version 444c1f9913d2650d4ffc4362cc4e2615f997eb4f)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGatewayIntegrationTests.java (version 444c1f9913d2650d4ffc4362cc4e2615f997eb4f)
  • Artem Bilan

    Artem Bilan fd7e7dbaf337ecb1ab6e64ebecf58a681dec1e51

    Fix Sonar smells in `JpaExecutor`

    • spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java (version fd7e7dbaf337ecb1ab6e64ebecf58a681dec1e51)
  • Artem Bilan

    Artem Bilan 3dc0fb5980a7e0757653f21820754a8fdc1c420d

    GH-3041: Deprecate RedisUtils.isUnlinkAvailable()
    Fixes https://github.com/spring-projects/spring-integration/issues/3041

    Some Redis clients/servers don't allow to perform an `INFO` command,
    therefore we are not able to determine if we can perform `UNLINK` or
    not.

    * Deprecate `RedisUtils.isUnlinkAvailable()` as not reliable source of
    through; use trial with fallback algorithm in the target logic around
    `UNLINK` command calls.

    **Cherry-pick to 5.1.x**

    • spring-integration-redis/src/main/java/org/springframework/integration/redis/store/RedisMessageStore.java (version 3dc0fb5980a7e0757653f21820754a8fdc1c420d)
    • spring-integration-redis/src/main/java/org/springframework/integration/redis/util/RedisLockRegistry.java (version 3dc0fb5980a7e0757653f21820754a8fdc1c420d)
    • spring-integration-redis/src/main/java/org/springframework/integration/redis/util/RedisUtils.java (version 3dc0fb5980a7e0757653f21820754a8fdc1c420d)
  • Artem Bilan

    Artem Bilan 554f2233f52696a82432303a7f750164c046984d

    Fix some Sonar smells and typos in JavaDocs

    • spring-integration-ip/src/main/java/org/springframework/integration/ip/dsl/TcpOutboundGatewaySpec.java (version 554f2233f52696a82432303a7f750164c046984d)
    • spring-integration-jpa/src/main/java/org/springframework/integration/jpa/core/JpaExecutor.java (version 554f2233f52696a82432303a7f750164c046984d)
  • Artem Bilan

    Artem Bilan 5b43b6c7dd6069e68ce03de72770667bac4c7448

    GH-2890: Document a bridge for subflow starts
    Fixes https://github.com/spring-projects/spring-integration/issues/2890

    Explain in a docs why and how a `bridge` appears in the flow when we
    declare a subflow for mapping

    * Upgrade to Kotlin `1.3.50`

    * Upgrade to Kotlin `1.3.50`
    * Polishing Doc according PR comments

    Doc polishing

    • build.gradle (version 5b43b6c7dd6069e68ce03de72770667bac4c7448)
    • src/reference/asciidoc/dsl.adoc (version 5b43b6c7dd6069e68ce03de72770667bac4c7448)
  • Artem Bilan

    Artem Bilan 075086775d165a5ebbc13371ab8879306e212c3e

    GH-3038: Delegate more RemoteFileTempalte options
    Fixes https://github.com/spring-projects/spring-integration/issues/3038

    * Add more delegating setters into the `AbstractRemoteFileOutboundGateway`
    for its `RemoteFileTemplate` property
    * Restrict externally provided `RemoteFileTemplate` from modifications
    in the `AbstractRemoteFileOutboundGateway`: those options must be
    configured on that external `RemoteFileTemplate`
    * Expose new options in the Java DSL specs

    • spring-integration-file/src/main/java/org/springframework/integration/file/dsl/RemoteFileOutboundGatewaySpec.java (version 075086775d165a5ebbc13371ab8879306e212c3e)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/gateway/AbstractRemoteFileOutboundGateway.java (version 075086775d165a5ebbc13371ab8879306e212c3e)
    • spring-integration-file/src/test/java/org/springframework/integration/file/remote/gateway/RemoteFileOutboundGatewayTests.java (version 075086775d165a5ebbc13371ab8879306e212c3e)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/gateway/FtpOutboundGateway.java (version 075086775d165a5ebbc13371ab8879306e212c3e)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/dsl/FtpTests.java (version 075086775d165a5ebbc13371ab8879306e212c3e)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/gateway/SftpOutboundGateway.java (version 075086775d165a5ebbc13371ab8879306e212c3e)
  • Artem Bilan

    Artem Bilan 1b892fc7a4d217dbe00aef77b4997e875e7d5805

    Fix Sonar smells in the `FtpSession`

    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/session/FtpSession.java (version 1b892fc7a4d217dbe00aef77b4997e875e7d5805)
  • Artem Bilan

    Artem Bilan ca8377da9b3ad960bcc4b03e85335310d71639c9

    GH-3017: Expose cancel-idle-interval XML attribute
    Fixes https://github.com/spring-projects/spring-integration/issues/3017

    * Expose also a `ImapIdleChannelAdapterSpec.cancelIdleInterval()` option
    * Deprecate useless `ImapMailInboundChannelAdapterSpec.cancelIdleInterval()`

    * Fix language in the Doc

    • spring-integration-mail/src/main/java/org/springframework/integration/mail/config/ImapIdleChannelAdapterParser.java (version ca8377da9b3ad960bcc4b03e85335310d71639c9)
    • spring-integration-mail/src/main/java/org/springframework/integration/mail/dsl/ImapIdleChannelAdapterSpec.java (version ca8377da9b3ad960bcc4b03e85335310d71639c9)
    • spring-integration-mail/src/main/java/org/springframework/integration/mail/dsl/ImapMailInboundChannelAdapterSpec.java (version ca8377da9b3ad960bcc4b03e85335310d71639c9)
    • spring-integration-mail/src/main/resources/org/springframework/integration/mail/config/spring-integration-mail-5.2.xsd (version ca8377da9b3ad960bcc4b03e85335310d71639c9)
    • spring-integration-mail/src/test/java/org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests-context.xml (version ca8377da9b3ad960bcc4b03e85335310d71639c9)
    • spring-integration-mail/src/test/java/org/springframework/integration/mail/config/ImapIdleChannelAdapterParserTests.java (version ca8377da9b3ad960bcc4b03e85335310d71639c9)
    • src/reference/asciidoc/mail.adoc (version ca8377da9b3ad960bcc4b03e85335310d71639c9)
  • Artem Bilan

    Artem Bilan 6d0757a08a75828eea408e68a9284cebb6e602fd

    Improve ImapIdleChannelAdapter (#3045)
    * Improve ImapIdleChannelAdapter

    * We should not destroy a `TaskExecutor` in the `stop()`, especially
    when we are going to restart eventually.
    Move that logic into `destroy()`
    * we should not destroy `MailReceiver` in the `stop()`; we don't
    reinstate it in the `start()`.
    Move the logic into `destroy()`
    * Wrap `ReceivingTask` and `IdleTask` into `isRunning()` condition to
    avoid task executions when we are in stopped state
    * Remove `ImapMailReceiverTests.testExecShutdown()` since it is not
    relevant any more and doesn't reflect `mail` module requirements

    * * Add `ImapMailReceiver.cancelPing()` hook
    * Also close folder for each `stop()`, as well as in the `destroy()`

    • spring-integration-mail/src/main/java/org/springframework/integration/mail/AbstractMailReceiver.java (version 6d0757a08a75828eea408e68a9284cebb6e602fd)
    • spring-integration-mail/src/main/java/org/springframework/integration/mail/ImapIdleChannelAdapter.java (version 6d0757a08a75828eea408e68a9284cebb6e602fd)
    • spring-integration-mail/src/main/java/org/springframework/integration/mail/ImapMailReceiver.java (version 6d0757a08a75828eea408e68a9284cebb6e602fd)
    • spring-integration-mail/src/test/java/org/springframework/integration/mail/ImapMailReceiverTests.java (version 6d0757a08a75828eea408e68a9284cebb6e602fd)
  • Artem Bilan

    Artem Bilan 4db71d751aeeb950271fd245071ae075bbfef581

    GH-3035: Include INT_ prefix into PK constraints
    Fixes https://github.com/spring-projects/spring-integration/issues/3035

    To avoid names collision for primary key indexes on the target schemas
    include an `INT_` prefix to names for the PKs in Spring Integration SQL
    scripts.
    Also fix the Docs for mentioned PKs

    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-db2.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-derby.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-h2.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-hsqldb.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-mysql.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-oracle.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-postgresql.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-sqlserver.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • spring-integration-jdbc/src/main/resources/org/springframework/integration/jdbc/schema-sybase.sql (version 4db71d751aeeb950271fd245071ae075bbfef581)
    • src/reference/asciidoc/jdbc.adoc (version 4db71d751aeeb950271fd245071ae075bbfef581)
  • Artem Bilan

    Artem Bilan a756e6334dcb442c90f6c1bdbd754c20293ef55b

    GH-3043: Add FileHeaders.REMOTE_HOST header (#3044)
    * GH-3043: Add FileHeaders.REMOTE_HOST header

    Fixes https://github.com/spring-projects/spring-integration/issues/3043

    * Populate a `FileHeaders.REMOTE_HOST` from the
    `AbstractRemoteFileStreamingMessageSource` and "get"-based commands
    in the `AbstractRemoteFileOutboundGateway`
    * Extract the value from the a `Session.getHost()` contract
    * The `AbstractInboundFileSynchronizingMessageSource` cannot be
    addressed with this because the real message is already based on the
    locally stored file
    * Adjust some affected tests according our code style requirements

    * * Add remote file info support into `AbstractInboundFileSynchronizingMessageSource`
    * Introduce a `MetadataStore` functionality into the `AbstractInboundFileSynchronizer`
    to gather a remote file info an save it in the URI style against local file
    * Retrieve such an info in the `AbstractInboundFileSynchronizingMessageSource`
    during local file polling
    * Introduce `protocol()` contract for the `AbstractInboundFileSynchronizer`
    to build a proper URI in the metadata for external readers to distinguish
    remote files properly
    * Document the feature

    * * Fix some typos in Docs

    * * Rename property and header constant to the `HOST_PORT` pair
    * Fix typos in Docs
    * Add  `remote-file-metadata-store` and `metadata-store-prefix` into XSD
    of (S)FTP Inbound Channel Adapters
    * Add `remoteFileMetadataStore` and `metadataStorePrefix` options
    into `RemoteFileInboundChannelAdapterSpec` for Java DSL

    • spring-integration-file/src/main/java/org/springframework/integration/file/FileHeaders.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/config/AbstractRemoteFileInboundChannelAdapterParser.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/dsl/RemoteFileInboundChannelAdapterSpec.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/filters/AbstractPersistentAcceptOnceFileListFilter.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/AbstractRemoteFileStreamingMessageSource.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/gateway/AbstractRemoteFileOutboundGateway.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/session/CachingSessionFactory.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/session/Session.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizer.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizingMessageSource.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/test/java/org/springframework/integration/file/remote/gateway/RemoteFileOutboundGatewayTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/test/java/org/springframework/integration/file/remote/session/CachingSessionFactoryTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-file/src/test/java/org/springframework/integration/file/remote/synchronizer/AbstractRemoteFileSynchronizerTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/inbound/FtpInboundFileSynchronizer.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/session/FtpSession.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-5.2.xsd (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/config/FtpInboundChannelAdapterParserTests-context.xml (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/config/FtpInboundChannelAdapterParserTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/dsl/FtpTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/inbound/FtpInboundRemoteFileSystemSynchronizerTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/inbound/FtpStreamingMessageSourceTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/outbound/FtpOutboundTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/inbound/SftpInboundFileSynchronizer.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/session/SftpSession.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/main/resources/org/springframework/integration/sftp/config/spring-integration-sftp-5.2.xsd (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context.xml (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/test/java/org/springframework/integration/sftp/dsl/SftpTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/test/java/org/springframework/integration/sftp/inbound/SftpInboundRemoteFileSystemSynchronizerTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • spring-integration-sftp/src/test/java/org/springframework/integration/sftp/inbound/SftpStreamingMessageSourceTests.java (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • src/reference/asciidoc/ftp.adoc (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • src/reference/asciidoc/sftp.adoc (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
    • src/reference/asciidoc/whats-new.adoc (version a756e6334dcb442c90f6c1bdbd754c20293ef55b)
  • Artem Bilan

    Artem Bilan ff15d5265d0f179e30a5136512a113e044236118

    Align RSocket module with the latest SF
    * Upgrade to RSocket API `1.0.0-RC3-SNAPSHOT`
    * Use the same `rSocketMessageHandler.responder()` callback
    for client and server rsocket factories configuration
    * Clean up `ClientRSocketConnector` and `ServerRSocketConnector`
    JavaDocs not mentioning overriding any more
    * Use `WellKnownMimeType.MESSAGE_RSOCKET_COMPOSITE_METADATA` constant
    instead of built-in literal
    * Fix `RSocketOutboundGatewayIntegrationTests` according the SF changes

    • build.gradle (version ff15d5265d0f179e30a5136512a113e044236118)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/AbstractRSocketConnector.java (version ff15d5265d0f179e30a5136512a113e044236118)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ClientRSocketConnector.java (version ff15d5265d0f179e30a5136512a113e044236118)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ServerRSocketConnector.java (version ff15d5265d0f179e30a5136512a113e044236118)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGatewayIntegrationTests.java (version ff15d5265d0f179e30a5136512a113e044236118)
  • Frank Fiorante <fiorantefrank@gmail.com>

    Frank Fiorante <fiorantefrank@gmail.com> 5073da8a1b5275be5fce639e4d42d037a72f7bf3

    Fix Typo in Flow Validation

    • spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationFlowDefinition.java (version 5073da8a1b5275be5fce639e4d42d037a72f7bf3)
  • Artem Bilan

    Artem Bilan d26ee1db4a3dcdda79ef42e2bf826a63d39e7e49

    Fix sporadic AMQP test failure
    https://build.spring.io/browse/INT-MASTER-1694

    Use `receive(timeout)` on the AMQP channel and with 10 seconds interval
    for the proper wait period instead of artificial short `do...while`

    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/dsl/AmqpTests.java (version d26ee1db4a3dcdda79ef42e2bf826a63d39e7e49)
  • Gary Russell

    Gary Russell 62d472f679c6dba9b0810bc8b5ef20d0cccc329c

    Fix Sonar issue

    • spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/lock/JdbcLockRegistry.java (version 62d472f679c6dba9b0810bc8b5ef20d0cccc329c)
  • Artem Bilan

    Artem Bilan f600361237da4d561dea73b1728afb5d2f424be5

    GH-3010 Add idleBetweenTries for JdbcLockRegistry
    Fixes https://github.com/spring-projects/spring-integration/issues/3010

    Sometimes `100` milliseconds interval is too often to try to obtain a
    lock with `UPDATE/INSERT` queries

    **Cherry-pick to 5.1.x**

    • spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/lock/JdbcLockRegistry.java (version f600361237da4d561dea73b1728afb5d2f424be5)
    • src/reference/asciidoc/jdbc.adoc (version f600361237da4d561dea73b1728afb5d2f424be5)
  • Mike Gorodilin <mikhail.gorodilin@gmail.com>

    Mike Gorodilin <mikhail.gorodilin@gmail.com> f0807fe70491f7546bbd97ece8904672a55e0be6

    Usage clarification of the group-timeout property
    Added some clarification on the usage of  the group-timeout property based on discussion
    https://stackoverflow.com/questions/48230453/issue-with-spring-integration-aggregator-group-timeout-value

    * Update aggregator.adoc

    Fixed according to one sentence per line rule.

    • src/reference/asciidoc/aggregator.adoc (version f0807fe70491f7546bbd97ece8904672a55e0be6)
  • Artem Bilan

    Artem Bilan 8d1d0eca28cddde08893b51e621a6eb5fb8a1919

    Fix `WebFluxDslTests` for SF changes

    • spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl/WebFluxDslTests.java (version 8d1d0eca28cddde08893b51e621a6eb5fb8a1919)
  • Artem Bilan

    Artem Bilan b7e928b846323f10a52b15f6142a4ffa08329c6a

    GH-3024 Move Error Handling Docs to the top level
    Fixes https://github.com/spring-projects/spring-integration/issues/3024

    To avoid confusing about `errorChannel` header behavior and make it more
    clear how to handle errors in Spring Integration flows, it would be
    better to present an `Error Handling` chapter on the top level.
    So, now it is a first chapter of the `Appendices` section

    • src/reference/asciidoc/changes-4.3-5.0.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
    • src/reference/asciidoc/channel.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
    • src/reference/asciidoc/configuration.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
    • src/reference/asciidoc/error-handling.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
    • src/reference/asciidoc/index-single.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
    • src/reference/asciidoc/index.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
    • src/reference/asciidoc/scatter-gather.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
    • src/reference/asciidoc/whats-new.adoc (version b7e928b846323f10a52b15f6142a4ffa08329c6a)
  • Artem Bilan

    Artem Bilan a835a63aad71be67fc33adeef61b494668b07285

    Apply changes from 5.1 for StandardRotationPolicy
    Related to https://github.com/spring-projects/spring-integration/issues/3027

    * Remove `Assert.isTrue()` from the `onRotation()` to make the behavior
    as void in case of non-standard `MessageSource` provided
    * Add JavaDocs into `onRotation()` to describe the behavior and
    possibility to override

    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/StandardRotationPolicy.java (version a835a63aad71be67fc33adeef61b494668b07285)
  • Artem Bilan

    Artem Bilan 503d001293b4b9f854c02190663b69321156f472

    Fix AMQP CF publisher confirms type usage
    Related to https://github.com/spring-projects/spring-amqp/issues/1067

    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/outbound/AmqpOutboundEndpointTests2.java (version 503d001293b4b9f854c02190663b69321156f472)
    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/outbound/AsyncAmqpGatewayTests.java (version 503d001293b4b9f854c02190663b69321156f472)
    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/support/BoundRabbitChannelAdviceIntegrationTests.java (version 503d001293b4b9f854c02190663b69321156f472)
    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/support/BoundRabbitChannelAdviceTests.java (version 503d001293b4b9f854c02190663b69321156f472)
  • Artem Bilan

    Artem Bilan 35dd0c2c8ae7a9920a63d6e55a8fb5637750a89b

    Remove unused imports in the Log4j2LevelAdjuster

    • spring-integration-test-support/src/main/java/org/springframework/integration/test/rule/Log4j2LevelAdjuster.java (version 35dd0c2c8ae7a9920a63d6e55a8fb5637750a89b)
  • Artem Bilan

    Artem Bilan b01982de41896d355e56635a06ee39b13873f32c

    Fix new Sonar smells

    • spring-integration-test-support/src/main/java/org/springframework/integration/test/rule/Log4j2LevelAdjuster.java (version b01982de41896d355e56635a06ee39b13873f32c)
    • spring-integration-test-support/src/main/java/org/springframework/integration/test/util/TestUtils.java (version b01982de41896d355e56635a06ee39b13873f32c)
  • Gary Russell

    Gary Russell 69dd180d0cb04b01c1a395aad750b173ddc91f6a

    JUnit 5 Log Level Adjuster
    * Fix copyright, javadoc.

    • spring-integration-core/src/test/java/org/springframework/integration/transformer/AvroTests.java (version 69dd180d0cb04b01c1a395aad750b173ddc91f6a)
    • spring-integration-test-support/src/main/java/org/springframework/integration/test/condition/LogLevels.java (version 69dd180d0cb04b01c1a395aad750b173ddc91f6a)
    • spring-integration-test-support/src/main/java/org/springframework/integration/test/condition/LogLevelsCondition.java (version 69dd180d0cb04b01c1a395aad750b173ddc91f6a)
    • spring-integration-test-support/src/main/java/org/springframework/integration/test/rule/Log4j2LevelAdjuster.java (version 69dd180d0cb04b01c1a395aad750b173ddc91f6a)
    • spring-integration-test-support/src/main/java/org/springframework/integration/test/util/TestUtils.java (version 69dd180d0cb04b01c1a395aad750b173ddc91f6a)
  • Gary Russell

    Gary Russell a4f7412cf54cc922e888b0a095686b64f6d40c82

    GH-3026 Support chmod with FTP
    Resolves https://github.com/spring-projects/spring-integration/issues/3026

    * Fix exception messages; remove test TODOs; test works on Windows

    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/config/FtpOutboundChannelAdapterParser.java (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/config/FtpOutboundGatewayParser.java (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/gateway/FtpOutboundGateway.java (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/outbound/FtpMessageHandler.java (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-ftp/src/main/resources/org/springframework/integration/ftp/config/spring-integration-ftp-5.2.xsd (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/outbound/FtpServerOutboundTests-context.xml (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/outbound/FtpServerOutboundTests.java (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/gateway/SftpOutboundGateway.java (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/outbound/SftpMessageHandler.java (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • src/reference/asciidoc/ftp.adoc (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • src/reference/asciidoc/sftp.adoc (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
    • src/reference/asciidoc/whats-new.adoc (version a4f7412cf54cc922e888b0a095686b64f6d40c82)
  • Gary Russell

    Gary Russell f256974dd81d3cfc54aa3b000e61c2485fcae19f

    AMQP OB Adapter - option to wait for confirms
    - add an option to block the caller until a confirm is received

    * Resolve PR comments re exceptions, default timeout etc

    • spring-integration-amqp/src/main/java/org/springframework/integration/amqp/config/AmqpOutboundChannelAdapterParser.java (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • spring-integration-amqp/src/main/java/org/springframework/integration/amqp/dsl/AmqpOutboundEndpointSpec.java (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • spring-integration-amqp/src/main/java/org/springframework/integration/amqp/outbound/AbstractAmqpOutboundEndpoint.java (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • spring-integration-amqp/src/main/java/org/springframework/integration/amqp/outbound/AmqpOutboundEndpoint.java (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • spring-integration-amqp/src/main/resources/org/springframework/integration/amqp/config/spring-integration-amqp-5.2.xsd (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/config/AmqpOutboundChannelAdapterParserTests-context.xml (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/config/AmqpOutboundChannelAdapterParserTests.java (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • spring-integration-amqp/src/test/java/org/springframework/integration/amqp/outbound/AmqpOutboundEndpointTests2.java (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • src/reference/asciidoc/amqp.adoc (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
    • src/reference/asciidoc/whats-new.adoc (version f256974dd81d3cfc54aa3b000e61c2485fcae19f)
  • Artem Bilan

    Artem Bilan fab4c452d274a5d4e18a0b7c33959cd6669a6090

    Move dep-management plugin out of root project
    Looks like `io.spring.dependency-management` plugin affects somehow a
    `makePDF` task, especially its `include 'index-single.adoc'`

    * Moving it away into `subprojects` sections brings PDF built back to
    normal
    * Upgrade to the `org.asciidoctor:asciidoctorj-pdf:1.5.0-beta.2`

    • build.gradle (version fab4c452d274a5d4e18a0b7c33959cd6669a6090)
  • Gary Russell

    Gary Russell a09b97949e311a5ceca1ca76f8438ddf932a35d0

    Upgrade Jackson version; use BOM for dependencies

    • build.gradle (version a09b97949e311a5ceca1ca76f8438ddf932a35d0)
    • publish-maven.gradle (version a09b97949e311a5ceca1ca76f8438ddf932a35d0)
  • Artem Bilan

    Artem Bilan 13a8623b5904db09c382438f69ef352cad32e6da

    GH-3027: Decouple RotationPolicy
    Fixes https://github.com/spring-projects/spring-integration/issues/3027

    This is a polishing for PR https://github.com/spring-projects/spring-integration/pull/3029

    * Move `KeyDirectory` in to the `RotationPolicy` since it looks like fully
    coupled concept with that abstraction and the class name is so bad for
    the public API
    * Remove `AbstractStandardRotationPolicy` in favor of a `StandardRotationPolicy`
    extendability
    * Change `ftp.adoc` and `sftp.adoc` to reflect a new API reality
    * Mantion these changes in the `whats-new.adoc`

    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/KeyDirectory.java (version 13a8623b5904db09c382438f69ef352cad32e6da)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/RotatingServerAdvice.java (version 13a8623b5904db09c382438f69ef352cad32e6da)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/RotationPolicy.java (version 13a8623b5904db09c382438f69ef352cad32e6da)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/StandardRotationPolicy.java (version 13a8623b5904db09c382438f69ef352cad32e6da)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/inbound/RotatingServersTests.java (version 13a8623b5904db09c382438f69ef352cad32e6da)
    • src/reference/asciidoc/ftp.adoc (version 13a8623b5904db09c382438f69ef352cad32e6da)
    • src/reference/asciidoc/sftp.adoc (version 13a8623b5904db09c382438f69ef352cad32e6da)
    • src/reference/asciidoc/whats-new.adoc (version 13a8623b5904db09c382438f69ef352cad32e6da)
  • Gary Russell

    Gary Russell a66b5ed6e23a1b8c5e85941fd0dbcdcb986ce451

    GH-3027: Fix `@since`

    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/AbstractStandardRotationPolicy.java (version a66b5ed6e23a1b8c5e85941fd0dbcdcb986ce451)
  • David Turanski <dturanski@pivotal.io>

    David Turanski <dturanski@pivotal.io> ba017686fb3d83077fab108de7866ba9358220e5

    GH-3027: Enhancements to RotatingServerAdvice
    Resolves https://github.com/spring-projects/spring-integration/issues/3027

    Fix checkstyle errors

    Polishing - wrap code at 120, javadocs at 90; don't use this. on method calls

    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/AbstractStandardRotationPolicy.java (version ba017686fb3d83077fab108de7866ba9358220e5)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/KeyDirectory.java (version ba017686fb3d83077fab108de7866ba9358220e5)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/RotatingServerAdvice.java (version ba017686fb3d83077fab108de7866ba9358220e5)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/aop/RotationPolicy.java (version ba017686fb3d83077fab108de7866ba9358220e5)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/inbound/RotatingServersTests.java (version ba017686fb3d83077fab108de7866ba9358220e5)
  • Gary Russell

    Gary Russell 8447ce4a35c4547313c14fd3b4a82b8052d71a2d

    GH-3018: Fix Http NPE when no application context
    Resolves https://github.com/spring-projects/spring-integration/issues/3018

    • spring-integration-http/src/main/java/org/springframework/integration/http/outbound/AbstractHttpRequestExecutingMessageHandler.java (version 8447ce4a35c4547313c14fd3b4a82b8052d71a2d)
  • Gary Russell

    Gary Russell d2fc02065dc1af1a1c8103103cf347fa955d8111

    GH-3020: QueueChannel doc polishing
    Resolves https://github.com/spring-projects/spring-integration/issues/3020

    • src/reference/asciidoc/channel.adoc (version d2fc02065dc1af1a1c8103103cf347fa955d8111)
  • Gary Russell

    Gary Russell eac33d3132871014db380ac489ac8d27ec08d32e

    Fix typos

    • build.gradle (version eac33d3132871014db380ac489ac8d27ec08d32e)
  • Gary Russell

    Gary Russell 85612502059f3320d6a3b9081b5f38a72a4e66e5

    Back to Spring Snapshots

    • build.gradle (version 85612502059f3320d6a3b9081b5f38a72a4e66e5)
  • Spring Buildmaster

    Spring Buildmaster be56a04407d85fd37c95e28e578dade947435af0

    [artifactory-release] Next development version

    • gradle.properties (version be56a04407d85fd37c95e28e578dade947435af0)
  • Spring Buildmaster

    Spring Buildmaster 9f5549cf5f6664bc93d1b083fd1f39b4ac4298d6

    [artifactory-release] Release version 5.2.0.M4

    • gradle.properties (version 9f5549cf5f6664bc93d1b083fd1f39b4ac4298d6)
  • Gary Russell

    Gary Russell fc9140ac21b36021d9efb3a0a41d7a564b875c75

    Upgrade to stable versions from snapshots

    • build.gradle (version fc9140ac21b36021d9efb3a0a41d7a564b875c75)
  • Gary Russell

    Gary Russell 989649410a22d73d3b0ae96b7dc8b4280f519d7b

    Change travis to use trusty
    xenial doesn't work with oraclejdk8

    • .travis.yml (version 989649410a22d73d3b0ae96b7dc8b4280f519d7b)
  • Gary Russell

    Gary Russell 0edce21cfe5f96ac99b679e353c575e5b01c1cef

    Remove remaining redundant superinterfaces

    • spring-integration-amqp/src/main/java/org/springframework/integration/amqp/channel/AbstractAmqpChannel.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-file/src/main/java/org/springframework/integration/file/splitter/FileSplitter.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/BeanPropertySqlParameterSourceFactory.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/JdbcOutboundGateway.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/StoredProcMessageHandler.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jms/src/main/java/org/springframework/integration/jms/JmsInboundGateway.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jms/src/main/java/org/springframework/integration/jms/JmsMessageDrivenEndpoint.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jms/src/main/java/org/springframework/integration/jms/SubscribableJmsChannel.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jmx/src/main/java/org/springframework/integration/jmx/NotificationPublishingMessageHandler.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-jmx/src/main/java/org/springframework/integration/jmx/OperationInvokingMessageHandler.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
    • spring-integration-redis/src/main/java/org/springframework/integration/redis/channel/SubscribableRedisChannel.java (version 0edce21cfe5f96ac99b679e353c575e5b01c1cef)
  • Gary Russell

    Gary Russell bf1d562c3be45ca917ba07442d239376de6b188d

    Fix MergedAnnotations.SearchStrategy deprecations
    https://github.com/spring-projects/spring-framework/commit/a6021cc96890e6f909fcf9f20d8ff6dabf596359

    • spring-integration-core/src/main/java/org/springframework/integration/aop/MethodAnnotationPublisherMetadataSource.java (version bf1d562c3be45ca917ba07442d239376de6b188d)
    • spring-integration-core/src/main/java/org/springframework/integration/expression/ControlBusMethodFilter.java (version bf1d562c3be45ca917ba07442d239376de6b188d)
    • spring-integration-jmx/src/main/java/org/springframework/integration/monitor/IntegrationJmxAttributeSource.java (version bf1d562c3be45ca917ba07442d239376de6b188d)
  • Gary Russell

    Gary Russell fc827e1f929e3a5a77738e42f246c9c298f8a78b

    GH-3004: Revert scope of handler factories
    See https://github.com/spring-projects/spring-integration/issues/3004

    https://github.com/spring-projects/spring-framework/issues/23352
    is now resolved so the `DefaultMessageHandlerMethodFactory` can be
    singletons.

    • spring-integration-core/src/main/java/org/springframework/integration/config/DefaultConfiguringBeanFactoryPostProcessor.java (version fc827e1f929e3a5a77738e42f246c9c298f8a78b)
  • Gary Russell

    Gary Russell f7fc3360cd4a2baa86d1d0823bd54d9ab15979c7

    Fix Sonar issues

    • spring-integration-core/src/main/java/org/springframework/integration/router/AbstractMappingMessageRouter.java (version f7fc3360cd4a2baa86d1d0823bd54d9ab15979c7)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/DirectoryCreatedEvent.java (version f7fc3360cd4a2baa86d1d0823bd54d9ab15979c7)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/FileWrittenEvent.java (version f7fc3360cd4a2baa86d1d0823bd54d9ab15979c7)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/PathMovedEvent.java (version f7fc3360cd4a2baa86d1d0823bd54d9ab15979c7)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/PathRemovedEvent.java (version f7fc3360cd4a2baa86d1d0823bd54d9ab15979c7)
  • Gary Russell

    Gary Russell 884db2c6092cbdb195aba7971d269b78e9a55984

    Checkstyle fix

    • spring-integration-core/src/test/java/org/springframework/integration/dsl/correlation/CorrelationHandlerTests.java (version 884db2c6092cbdb195aba7971d269b78e9a55984)
  • Gary Russell

    Gary Russell 580ca865fee6316309fc0c1a9d99be78758f2939

    Test fixes for AssertJ changes

    • spring-integration-core/src/test/java/org/springframework/integration/aggregator/FluxAggregatorMessageHandlerTests.java (version 580ca865fee6316309fc0c1a9d99be78758f2939)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/correlation/CorrelationHandlerTests.java (version 580ca865fee6316309fc0c1a9d99be78758f2939)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/transformers/TransformerTests.java (version 580ca865fee6316309fc0c1a9d99be78758f2939)
  • Gary Russell

    Gary Russell b993972199113fcd1cca1a02030d09eb709636a0

    Upgrade Lettuce, AssertJ versions

    • build.gradle (version b993972199113fcd1cca1a02030d09eb709636a0)
  • Gary Russell

    Gary Russell 096087073d0198d6d58618a47992833023e60e72

    Fix javadoc (previous commit)

    • spring-integration-test-support/src/main/java/org/springframework/integration/test/matcher/PayloadMatcher.java (version 096087073d0198d6d58618a47992833023e60e72)
  • Andreas Gebhardt <agebhar1@googlemail.com>

    Andreas Gebhardt <agebhar1@googlemail.com> d2dc9c5dba609643fb6aab75dc6e8d00043d80d5

    fix JavaDoc code snippet on `PayloadMatcher`

    • spring-integration-test-support/src/main/java/org/springframework/integration/test/matcher/PayloadMatcher.java (version d2dc9c5dba609643fb6aab75dc6e8d00043d80d5)
  • Gary Russell

    Gary Russell cd0f56bc87bc6edc597b1f39855f447b1b8f9cea

    Add Apache MINA SftpEventListener
    - republish certain events as `ApplicationEvent`s.

    * * Add ApacheMinaFtplet to provide the same functionality with FTP
    * Fix typo

    * * Polishing javadocs and event toString() methods

    • build.gradle (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-core/src/main/java/org/springframework/integration/events/IntegrationEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/server/FileServerEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/server/package-info.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/ApacheMinaFtpEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/ApacheMinaFtplet.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/DirectoryCreatedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/FileWrittenEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/FtpRequestEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/PathMovedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/PathRemovedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/SessionClosedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/SessionOpenedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/server/package-info.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/FtpTestSupport.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-ftp/src/test/java/org/springframework/integration/ftp/outbound/FtpServerOutboundTests.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/ApacheMinaSftpEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/ApacheMinaSftpEventListener.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/DirectoryCreatedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/FileWrittenEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/PathMovedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/PathRemovedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/SessionClosedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/SessionOpenedEvent.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/main/java/org/springframework/integration/sftp/server/package-info.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/test/java/org/springframework/integration/sftp/SftpTestSupport.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • spring-integration-sftp/src/test/java/org/springframework/integration/sftp/outbound/SftpServerOutboundTests.java (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • src/reference/asciidoc/event.adoc (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • src/reference/asciidoc/ftp.adoc (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • src/reference/asciidoc/sftp.adoc (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
    • src/reference/asciidoc/whats-new.adoc (version cd0f56bc87bc6edc597b1f39855f447b1b8f9cea)
  • Gary Russell

    Gary Russell b1dfb7bfa32b3ddfd6915e5db3c9389311bde5d9

    INT-1926: Option to disallow arbitrary routing
    JIRA: INT-1926">https://jira.spring.io/browse/INT-1926

    Add an option to mapping routers to disable falling back to the
    channel key as the channel name.

    • spring-integration-core/src/main/java/org/springframework/integration/dsl/RouterSpec.java (version b1dfb7bfa32b3ddfd6915e5db3c9389311bde5d9)
    • spring-integration-core/src/main/java/org/springframework/integration/router/AbstractMappingMessageRouter.java (version b1dfb7bfa32b3ddfd6915e5db3c9389311bde5d9)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/routers/NoFallbackAllowedTests.java (version b1dfb7bfa32b3ddfd6915e5db3c9389311bde5d9)
    • src/reference/asciidoc/router.adoc (version b1dfb7bfa32b3ddfd6915e5db3c9389311bde5d9)
    • src/reference/asciidoc/whats-new.adoc (version b1dfb7bfa32b3ddfd6915e5db3c9389311bde5d9)
  • Denis Kilchichakov <augur@users.noreply.github.com>

    Denis Kilchichakov <augur@users.noreply.github.com> ef1d7be020841c6dd3f66f836ff697a2079ffdf0

    Fix nullability issue in queuechannel (#3012)
    * Added inherited @Nullable to QueueChannel.doReceive

    * Minor refactoring

    • spring-integration-core/src/main/java/org/springframework/integration/channel/QueueChannel.java (version ef1d7be020841c6dd3f66f836ff697a2079ffdf0)
  • Gary Russell

    Gary Russell 91eb3655aa260f37da9e548581ab8c63163a17e2

    GH-3003: Add link to migration guide

    • src/reference/asciidoc/whats-new.adoc (version 91eb3655aa260f37da9e548581ab8c63163a17e2)
  • Gary Russell

    Gary Russell 5a8be5dc56258cce1f3c9982e599b22cb14e6dbe

    GH-3004: Fix MMIH argument resolution
    Fixes https://github.com/spring-projects/spring-integration/issues/3004

    Change the `DefaultMessageHandlerMethodFactory` beans to prototype scope.

    See https://github.com/spring-projects/spring-framework/issues/23352

    • spring-integration-core/src/main/java/org/springframework/integration/config/DefaultConfiguringBeanFactoryPostProcessor.java (version 5a8be5dc56258cce1f3c9982e599b22cb14e6dbe)
    • spring-integration-core/src/test/java/org/springframework/integration/handler/support/MessagingMethodInvocableHelperTests.java (version 5a8be5dc56258cce1f3c9982e599b22cb14e6dbe)
  • Gary Russell

    Gary Russell aaefe51909e903c2f89d2790eca1b4c6584e9d8f

    GH-3003: Fix pub/sub with dynamic DSL flows
    Fixes https://github.com/spring-projects/spring-integration/issues/3003

    Statically defined flows with a publish/subscribe channel invoke the
    subscriptions in natural (declared) order.

    The components in the flow are started by the application context in
    phases (consumers, then producers) and bean declaration order within
    each phase.

    When a dynamically declared flow is started, the components are started
    by the `StandardIntegrationFlow` in reverse order (last to first) so that
    we don't start producing messages before the flow is fully wired.

    This has the side-effect that pub/sub subscribers are invoked in an
    unnatural (last to first) order.

    All subscription sub-flows start with a bridge from the pub/sub channel
    to the first component's input channel.

    The `BroadcastingDispatcher` honors the `Ordered` interface.

    Change the `PublishSubscribeSpec` to set the `order` property so that
    subscribers are always invoked in the natural order, regardless of whether
    the flow is statically or dynamically defined.

    • spring-integration-core/src/main/java/org/springframework/integration/dsl/PublishSubscribeSpec.java (version aaefe51909e903c2f89d2790eca1b4c6584e9d8f)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/publishsubscribe/PublishSubscribeTests.java (version aaefe51909e903c2f89d2790eca1b4c6584e9d8f)
  • Gary Russell

    Gary Russell 8de73d341776037265680e96faf79805c002b866

    Sonar Fixes
    `getRouteMatcher()` is only `@Nullable` before initialization.

    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/IntegrationRSocketMessageHandler.java (version 8de73d341776037265680e96faf79805c002b866)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ServerRSocketConnector.java (version 8de73d341776037265680e96faf79805c002b866)
  • Gary Russell

    Gary Russell b660920da80bc2fe244b78117af76518e0b8dd2c

    Revert "RSocket - temporary work around for tests"
    This reverts commit 016bb32aa7ad2422bb9d13fcb2dd058e39fad764.

    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/IntegrationRSocketMessageHandler.java (version b660920da80bc2fe244b78117af76518e0b8dd2c)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGatewayIntegrationTests.java (version b660920da80bc2fe244b78117af76518e0b8dd2c)
  • Gary Russell

    Gary Russell 016bb32aa7ad2422bb9d13fcb2dd058e39fad764

    RSocket - temporary work around for tests

    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/IntegrationRSocketMessageHandler.java (version 016bb32aa7ad2422bb9d13fcb2dd058e39fad764)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGatewayIntegrationTests.java (version 016bb32aa7ad2422bb9d13fcb2dd058e39fad764)
  • Gary Russell

    Gary Russell 38b64543fb4a20c183fcc04c86e4875d6b29c249

    Fix New Sonar Issues

    • spring-integration-core/src/main/java/org/springframework/integration/transformer/ContentEnricher.java (version 38b64543fb4a20c183fcc04c86e4875d6b29c249)
    • spring-integration-jms/src/main/java/org/springframework/integration/jms/JmsOutboundGateway.java (version 38b64543fb4a20c183fcc04c86e4875d6b29c249)
    • spring-integration-xmpp/src/main/java/org/springframework/integration/xmpp/outbound/ChatMessageSendingMessageHandler.java (version 38b64543fb4a20c183fcc04c86e4875d6b29c249)
  • Artem Bilan

    Artem Bilan 80d679a9b0537cf71371502afeb6f52b851b31d4

    GH-2748: More bean definitions into exceptions
    Fixes https://github.com/spring-projects/spring-integration/issues/2748

    * Refactor more `MessageHandlingException`s to include `this` into an
    exception message
    * Revert using `MessagingException` in some places which really are not
    about messaging.
    This helps to wrap them into `MessageHandlingException` later in the
    `MessageHandler` for the `BeanDefinition` reference
    * Remove `volatile` from configuration properties in the affected
    classes
    * Remove already deprecated `JmsOutboundGateway.setPriority()`
    * Add `resource` and `source` for `BeanDefinition` in the
    `AbstractChannelAdapterParser` & `AbstractInboundGatewayParser`
    * Document the feature

    • spring-integration-amqp/src/main/java/org/springframework/integration/amqp/outbound/AsyncAmqpOutboundGateway.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/aggregator/AbstractCorrelatingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/aggregator/BarrierMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractChannelAdapterParser.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractInboundGatewayParser.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/context/IntegrationObjectSupport.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/handler/AbstractMessageProducingHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/handler/DelayHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/handler/MethodInvokingMessageProcessor.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-core/src/main/java/org/springframework/integration/transformer/ContentEnricher.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-file/src/main/java/org/springframework/integration/file/FileWritingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/gateway/AbstractRemoteFileOutboundGateway.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-file/src/main/java/org/springframework/integration/file/splitter/FileSplitter.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-file/src/test/java/org/springframework/integration/file/config/FileOutboundGatewayParserTests.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-file/src/test/java/org/springframework/integration/file/splitter/FileSplitterTests.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-ftp/src/main/java/org/springframework/integration/ftp/gateway/FtpOutboundGateway.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-groovy/src/test/java/org/springframework/integration/groovy/GroovyScriptPayloadMessageProcessorTests.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-http/src/main/java/org/springframework/integration/http/outbound/AbstractHttpRequestExecutingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-http/src/main/java/org/springframework/integration/http/outbound/HttpRequestExecutingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/TcpOutboundGateway.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/TcpSendingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-ip/src/main/java/org/springframework/integration/ip/tcp/connection/TcpMessageMapper.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-ip/src/main/java/org/springframework/integration/ip/udp/DatagramPacketMessageMapper.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-ip/src/main/java/org/springframework/integration/ip/udp/UnicastSendingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/StoredProcOutboundGateway.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-jms/src/main/java/org/springframework/integration/jms/JmsOutboundGateway.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-jms/src/main/java/org/springframework/integration/jms/config/JmsOutboundGatewayParser.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-jms/src/main/java/org/springframework/integration/jms/dsl/JmsOutboundGatewaySpec.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-jmx/src/main/java/org/springframework/integration/jmx/NotificationPublishingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-jmx/src/main/java/org/springframework/integration/jmx/OperationInvokingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-mail/src/main/java/org/springframework/integration/mail/MailSendingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/outbound/AbstractMqttMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/outbound/MqttPahoMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-mqtt/src/main/java/org/springframework/integration/mqtt/support/DefaultPahoMessageConverter.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-redis/src/main/java/org/springframework/integration/redis/outbound/RedisStoreWritingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-rmi/src/main/java/org/springframework/integration/rmi/RmiOutboundGateway.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-scripting/src/main/java/org/springframework/integration/scripting/AbstractScriptExecutingMessageProcessor.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-stomp/src/main/java/org/springframework/integration/stomp/inbound/StompInboundChannelAdapter.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-websocket/src/main/java/org/springframework/integration/websocket/inbound/WebSocketInboundChannelAdapter.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-websocket/src/main/java/org/springframework/integration/websocket/outbound/WebSocketOutboundMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-xml/src/main/java/org/springframework/integration/xml/selector/XmlValidatingMessageSelector.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-xml/src/main/java/org/springframework/integration/xml/splitter/XPathMessageSplitter.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-xmpp/src/main/java/org/springframework/integration/xmpp/outbound/ChatMessageSendingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • spring-integration-xmpp/src/main/java/org/springframework/integration/xmpp/outbound/PresenceSendingMessageHandler.java (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • src/reference/asciidoc/configuration.adoc (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
    • src/reference/asciidoc/whats-new.adoc (version 80d679a9b0537cf71371502afeb6f52b851b31d4)
  • Artem Bilan

    Artem Bilan 0ed88c32682312ef593917162518c4272cf97b0d

    Fix `spring-web` dependency for AMQP module
    A `spring-web` dependecy has been placed into a `compile` configuration
    by mistake - it must in the `testCompile`

    • build.gradle (version 0ed88c32682312ef593917162518c4272cf97b0d)
  • Gary Russell

    Gary Russell ce85b64aa8fbcac2e7151d65265ecb5c3b65b5d8

    Improve RemoteFileTemplate invalid payload except.
    - include the invalid payload type

    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/RemoteFileTemplate.java (version ce85b64aa8fbcac2e7151d65265ecb5c3b65b5d8)
  • Gary Russell

    Gary Russell 0259d0820c0850281854152e85169a93fa99285d

    RemoteFileTemplate: Improve test coverage

    • spring-integration-file/src/test/java/org/springframework/integration/file/remote/RemoteFileTemplateTests.java (version 0259d0820c0850281854152e85169a93fa99285d)
  • Gary Russell

    Gary Russell d2eee913d7d1dae5910b13d5cabb4228a066bbf0

    INT-3746: Polishing
    - move `InputStream` test later
    - add `name` for error messages
    - add test

    • spring-integration-file/src/main/java/org/springframework/integration/file/remote/RemoteFileTemplate.java (version d2eee913d7d1dae5910b13d5cabb4228a066bbf0)
    • spring-integration-file/src/test/java/org/springframework/integration/file/remote/RemoteFileTemplateTests.java (version d2eee913d7d1dae5910b13d5cabb4228a066bbf0)
  • Peter Uhlenbruck <13527750+puhlenbruck@users.noreply.github.com>

    Peter Uhlenbruck <13527750+puhlenbruck@users.noreply.github.com> 89e1eb35b9b84167ac3a0e68609e83d2a25ca456

    GH-2999: Fix TimeoutCountSeqSizeReleaseStrategy
    Fixes https://github.com/spring-projects/spring-integration/issues/2999

    Remove `else` block from `findEarliestTimestamp` causing
    the method to return with `Long.MAX_VALUE` if the condition was ever
    `false`.

    **Cherry-pick to 5.1.x**

    • spring-integration-core/src/main/java/org/springframework/integration/aggregator/TimeoutCountSequenceSizeReleaseStrategy.java (version 89e1eb35b9b84167ac3a0e68609e83d2a25ca456)
    • spring-integration-core/src/test/java/org/springframework/integration/aggregator/TimeoutCountSequenceSizeReleaseStrategyTests.java (version 89e1eb35b9b84167ac3a0e68609e83d2a25ca456)
  • Artem Bilan

    Artem Bilan 42d8faf11e6dc7357d777b8eb025b16207e5cb9e

    Upgrade dependencies, including Gradle (#2997)
    * `exclude group: 'org.springframework'` from all non-core Spring
    dependencies to avoid CLASSPATH conflicts
    * Remove suppress from from some modules which don't report compilation
    warnings any more
    * Fix deprecation warnings reported after upgrades

    • build.gradle (version 42d8faf11e6dc7357d777b8eb025b16207e5cb9e)
    • gradle/wrapper/gradle-wrapper.properties (version 42d8faf11e6dc7357d777b8eb025b16207e5cb9e)
    • gradlew (version 42d8faf11e6dc7357d777b8eb025b16207e5cb9e)
    • gradlew.bat (version 42d8faf11e6dc7357d777b8eb025b16207e5cb9e)
    • spring-integration-core/src/test/java/org/springframework/integration/handler/advice/RateLimiterRequestHandlerAdviceTests.java (version 42d8faf11e6dc7357d777b8eb025b16207e5cb9e)
    • spring-integration-gemfire/src/test/java/org/springframework/integration/gemfire/inbound/CacheListeningMessageProducerTests.java (version 42d8faf11e6dc7357d777b8eb025b16207e5cb9e)
  • Gary Russell

    Gary Russell 8bb0e194c0732da40a5a669ef0e9ee4deddbd719

    Clear lock cache in NioFileLocker (#2998)
    Fixes https://github.com/spring-projects/spring-integration/issues/2980

    • spring-integration-file/src/main/java/org/springframework/integration/file/locking/FileChannelCache.java (version 8bb0e194c0732da40a5a669ef0e9ee4deddbd719)
    • spring-integration-file/src/main/java/org/springframework/integration/file/locking/NioFileLocker.java (version 8bb0e194c0732da40a5a669ef0e9ee4deddbd719)
    • spring-integration-file/src/test/java/org/springframework/integration/file/locking/NioFileLockerTests.java (version 8bb0e194c0732da40a5a669ef0e9ee4deddbd719)
  • Artem Bilan

    Artem Bilan 084aaf7e57206c8a6f7df64c0166260a2b488578

    GH-2988: Use `@Config(proxyBeanMethods=false)` (#2989)
    * GH-2988: Use `@Config(proxyBeanMethods=false)`

    Fixes https://github.com/spring-projects/spring-integration/issues/2988

    For faster startup (and possibility to compile to native code with GraalVM)
    use a `proxyBeanMethods = false` on all the `@Configuration` classes
    in the Framework
    * Provide some other code style polishing

    * * Fix Checkstyle violation

    • spring-integration-core/src/main/java/org/springframework/integration/config/IntegrationManagementConfiguration.java (version 084aaf7e57206c8a6f7df64c0166260a2b488578)
    • spring-integration-jmx/src/main/java/org/springframework/integration/jmx/config/IntegrationMBeanExportConfiguration.java (version 084aaf7e57206c8a6f7df64c0166260a2b488578)
  • Gary Russell

    Gary Russell 989d31716da7ad2fbdc5c64e8ffbad1e3a9ae663

    Add type mapping to SimpleToAvroTransformer
    * Fix setter names for expression Strings

    • spring-integration-core/src/main/java/org/springframework/integration/transformer/SimpleFromAvroTransformer.java (version 989d31716da7ad2fbdc5c64e8ffbad1e3a9ae663)
    • spring-integration-core/src/main/java/org/springframework/integration/transformer/SimpleToAvroTransformer.java (version 989d31716da7ad2fbdc5c64e8ffbad1e3a9ae663)
    • spring-integration-core/src/main/java/org/springframework/integration/transformer/support/AvroHeaders.java (version 989d31716da7ad2fbdc5c64e8ffbad1e3a9ae663)
    • spring-integration-core/src/test/java/org/springframework/integration/transformer/AvroTests.java (version 989d31716da7ad2fbdc5c64e8ffbad1e3a9ae663)
    • src/reference/asciidoc/transformer.adoc (version 989d31716da7ad2fbdc5c64e8ffbad1e3a9ae663)
  • Artem Bilan

    Artem Bilan c109e1df34a1f7239944b339bb98c80b72078e2e

    GH-2987: Add HTTPS entries into spring.schemas
    Fixes https://github.com/spring-projects/spring-integration/issues/2987

    To resolve XSD files properly from the classpath, their HTTPS reference
    must be present in the `spring.schemas` to avoid the Internet interaction
    for resolving an XSD file

    **Cherry-pick to 5.1.x, 5.0.x & 4.3.x**

    • spring-integration-amqp/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-core/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-event/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-feed/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-file/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-ftp/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-gemfire/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-groovy/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-http/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-ip/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-jdbc/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-jms/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-jmx/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-jpa/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-mail/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-mongodb/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-mqtt/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-redis/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-rmi/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-rsocket/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-scripting/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-security/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-sftp/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-stomp/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-stream/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-syslog/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-webflux/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-websocket/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-ws/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-xml/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-xmpp/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
    • spring-integration-zookeeper/src/main/resources/META-INF/spring.schemas (version c109e1df34a1f7239944b339bb98c80b72078e2e)
  • Artem Bilan

    Artem Bilan 13bccf778be023e0bf11dc72ae536ffa6d4214a4

    Fix Checkstyle violation for `(` and comment after

    • spring-integration-core/src/main/java/org/springframework/integration/handler/LambdaMessageProcessor.java (version 13bccf778be023e0bf11dc72ae536ffa6d4214a4)
  • Artem Bilan

    Artem Bilan 34723fb9466c05d9273fce39279cf258c729cd4f

    Fix Rsocket module for moved classes in SF

    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/AbstractRSocketConnector.java (version 34723fb9466c05d9273fce39279cf258c729cd4f)
  • Artem Bilan

    Artem Bilan 733b8955444b67b367887c2c0d6890d91d649d75

    Fix new Sonar smells
    * Remove redundant `@SafeVarargs` from `Disposables.add()` since
    `DisposableBean` is a "reifiable" type

    • spring-integration-core/src/main/java/org/springframework/integration/config/annotation/Disposables.java (version 733b8955444b67b367887c2c0d6890d91d649d75)
    • spring-integration-core/src/main/java/org/springframework/integration/handler/LambdaMessageProcessor.java (version 733b8955444b67b367887c2c0d6890d91d649d75)
  • Artem Bilan

    Artem Bilan c712416b63b8a7bfc579151b5f1eb65b3c85bbda

    GH-2748: Add bean definition info into exceptions (#2986)
    * GH-2748: Add bean definition info into exceptions

    Fixes https://github.com/spring-projects/spring-integration/issues/2748

    In many cases Spring Integration stack traces doesn't contain any
    relations to end-user code.
    Just because a target project code mostly contains only a configuration
    for out-of-the-box components without any custom code.
    When exception is thrown from such an out-of-the-box component, it is
    hard from the stack trace to determine a configuration source for those
    components.

    * Add a logic into the `IntegrationObjectSupport` to obtain a its own
    `BeanDefinition` from the `BeanFactory` to include a `resource` and
    `source` (if any) into the `toString()` representation, as well as add
    a new `getBeanDescription()` to get such an info at runtime
    * The `toString()` is simply used by `this` reference in the message
    for `MessagingException` thrown from the `IntegrationObjectSupport`
    implementations
    * Modify an exception message for the `MessageTransformingHandler` and
    `MessageFilter` to make it based on `this`.
    The `AbstractMessageHandler` already includes `this` into its exception
    message
    * Modify a `AbstractConsumerEndpointParser` and
    `AbstractAmqpInboundAdapterParser` (as a sample) to include a `resource`
    and `source` into a `MessageHandler` `BeanDefinition`.
    * Include an `IntegrationFlow` `BeanDefinition` `resource`
    (`@Configuration` class) and its bean method as a `source` into all
    child beans declared during flow parsing in the `IntegrationFlowBeanPostProcessor`
    * Add `IntegrationFlowRegistrationBuilder.setSource()` for manually
    registered flows: there is no configuration parsing phase to extract
    such an info from `BeanFactory`
    * Propagate that `source` into all the child beans provided by the
    `IntegrationFlow`
    * Modify a `LambdaMessageProcessor` exception message to include a
    method info in case of `InvocationTargetException`

    * Do not cast explicitly for `ConfigurableListableBeanFactory` in the
    `IntegrationObjectSupport` to avoid tests modifications for mocking
    directly into `ConfigurableListableBeanFactory`.
    Use `instanceof` instead in the `getBeanDescription()`

    * * Fix Checkstyle issues

    * * Fix `IntegrationGraphServer` and  `IntegrationMBeanExporter`
    to rely on the `NamedComponent` for channel names instead of
    always call `toString()` which is now much more than just a bean name
    * Don't describe a `componentName` if it is the same as a `beanName`
    * Check for parent `BeanDefinition` in the `IntegrationFlowBeanPostProcessor`
    before calling its meta-info
    * Fix tests according new `IntegrationObjectSupport.toString()` behavior

    • spring-integration-amqp/src/main/java/org/springframework/integration/amqp/config/AbstractAmqpInboundAdapterParser.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/config/xml/AbstractConsumerEndpointParser.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/context/IntegrationObjectSupport.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/dsl/context/IntegrationFlowBeanPostProcessor.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/dsl/context/IntegrationFlowContext.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/dsl/context/StandardIntegrationFlowContext.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/filter/MessageFilter.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/graph/IntegrationGraphServer.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/handler/LambdaMessageProcessor.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/main/java/org/springframework/integration/transformer/MessageTransformingHandler.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/aggregator/integration/AggregatorIntegrationTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/config/annotation/MessagingAnnotationsWithBeanAnnotationTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/config/xml/HeaderEnricherParserTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/LambdaMessageProcessorTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/flows/IntegrationFlowTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/gateway/GatewayDslTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/dsl/manualflow/ManualFlowTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/handler/advice/AdvisedMessageHandlerTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-core/src/test/java/org/springframework/integration/transformer/ContentEnricherTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/ConnectionEventTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-ip/src/test/java/org/springframework/integration/ip/tcp/connection/ConnectionFactoryTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-jmx/src/main/java/org/springframework/integration/monitor/IntegrationMBeanExporter.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-jmx/src/test/java/org/springframework/integration/monitor/ChannelIntegrationTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-jmx/src/test/java/org/springframework/integration/monitor/HandlerMonitoringIntegrationTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
    • spring-integration-jmx/src/test/java/org/springframework/integration/monitor/MessageChannelsMonitorIntegrationTests.java (version c712416b63b8a7bfc579151b5f1eb65b3c85bbda)
  • Artem Bilan

    Artem Bilan ebb22c2ed460cd607c7cd3942f651c65dde62a60

    Fix RSocket module according latest SF
    See https://github.com/spring-projects/spring-framework/issues/23170

    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ClientRSocketConnector.java (version ebb22c2ed460cd607c7cd3942f651c65dde62a60)
    • spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ServerRSocketConnector.java (version ebb22c2ed460cd607c7cd3942f651c65dde62a60)
    • spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGatewayIntegrationTests.java (version ebb22c2ed460cd607c7cd3942f651c65dde62a60)