Commit Graph

12125 Commits

Author SHA1 Message Date
dependabot[bot]
89f60cb81c Bump debeziumVersion from 3.0.6.Final to 3.0.7.Final (#9764)
Bumps `debeziumVersion` from 3.0.6.Final to 3.0.7.Final.

Updates `io.debezium:debezium-embedded` from 3.0.6.Final to 3.0.7.Final

Updates `io.debezium:debezium-connector-mysql` from 3.0.6.Final to 3.0.7.Final

---
updated-dependencies:
- dependency-name: io.debezium:debezium-embedded
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.debezium:debezium-connector-mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-19 00:45:09 +00:00
Artem Bilan
7ac6b2175e Mention in docs that org.eclipse.paho.client.mqttv3 is optional 2025-01-15 11:52:59 -05:00
Artem Bilan
18149108b2 Migrate to DCO from CLA
**Auto-cherry-pick to `6.4.x` & `6.3.x`**
2025-01-14 15:48:26 -05:00
Artem Bilan
ad61cef7fc GH-9754: Add discardIndividuallyOnExpiry to aggregator
Fixes: https://github.com/spring-projects/spring-integration/issues/9754

Right now a correlation handler can discard messages in the expired group one by one.
In some scenarios it would be useful to have single message in discard for the whole group.

* Expose `discardIndividuallyOnExpiry` for the `AbstractCorrelatingMessageHandler`,
and `AggregatorFactoryBean`, and respective `CorrelationHandlerSpec` for DSL.
This new option takes action only if a `discardChannel` is provided,
and `sendPartialResultOnExpiry` is not set to `true`.
When `discardIndividuallyOnExpiry` is false, the messages in the expired group are packed
into a list for payload of a discarding single message.
* Test and document the new feature
2025-01-14 13:03:29 -05:00
dependabot[bot]
85b1418309 Bump protobufVersion from 4.29.2 to 4.29.3 (#9752)
Bumps `protobufVersion` from 4.29.2 to 4.29.3.

Updates `com.google.protobuf:protobuf-java` from 4.29.2 to 4.29.3
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

Updates `com.google.protobuf:protobuf-java-util` from 4.29.2 to 4.29.3

Updates `com.google.protobuf:protoc` from 4.29.2 to 4.29.3
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protobuf-java-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.protobuf:protoc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-12 00:35:16 +00:00
dependabot[bot]
b372948c49 Bump com.github.spotbugs in the development-dependencies group (#9751)
Bumps the development-dependencies group with 1 update: com.github.spotbugs.


Updates `com.github.spotbugs` from 6.0.27 to 6.0.28

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-12 00:32:20 +00:00
Artem Bilan
6184c4082a GH-9745: IntEvalCtxFB: Use BeanFactory's ClassLoader
Fixes: #9745
Issue link: https://github.com/spring-projects/spring-integration/issues/9745

The `IntegrationEvaluationContextFactoryBean` does not provide a `TypeLocator` by default.
That may lead to a class-not-found problem from different `ClassLoader` in the parallel Java `Stream` executor.

* Fix `IntegrationEvaluationContextFactoryBean` to use a `StandardTypeLocator` based on the `applicationContext.getClassLoader()`

**Auto-cherry-pick to `6.4.x` & `6.3.x`**
2025-01-09 16:27:38 -05:00
Artem Bilan
8391f07728 Remove @Deprecated classes 2025-01-09 13:34:20 -05:00
Artem Bilan
89c5dfa4d6 GH-9743: Add observation to the SourcePollingChannelAdapter
Fixes: https://github.com/spring-projects/spring-integration/issues/9743

Spring Integration provides observation for the `MessageChannel`, `MessageHandler`
and `MessageProducerSupport`.
The `SourcePollingChannelAdapter` is missing, and it is that only special endpoint which
deals with `MessageSource` implementations via scheduled tasks in the poller.
Essentially, this endpoint is a start of the flow, but it still is a consumer of data from the source system.

* Add an `Observation` logic to the `SourcePollingChannelAdapter`.
* Divide it into two phases: start (and open scope) when message is received; stop (and close scope) when the whole polling task for a message is done.
We need this separation because of transaction scope for the polling task.
At the same time we don't want to emit an observation for a void polling task.
* Change `MessageReceiverContext` to accept a `handlerType`.
The `MessageHandler` contributes a `handler`.
The new support in the `SourcePollingChannelAdapter` - `message-source`.
And change `MessageProducerSupport` to contribute a `message-producer`
* Verify the single trace is supported for the whole flow (including transaction synchronization) starting from a `SourcePollingChannelAdapter` in a new `SourcePollingChannelAdapterObservationTests`
* Document this new feature
2025-01-09 13:31:02 -05:00
Artem Bilan
177bda58c5 GH-9744: Remove deprecated LobHandler references
Fixes: https://github.com/spring-projects/spring-integration/issues/9744
2025-01-08 12:28:56 -05:00
NaccOll
9962ee49a2 GH-5123: Add LockRegistry to AbstractMessageGroupStore
Fixes: https://github.com/spring-projects/spring-integration/issues/5123

When `RedisMessageStore`, for example, adds and removes messages, it operates on two keys separately, which may cause problems in multi-threading due to non-atomic operations.
Although using Redis to delay messages is not a good idea, the abnormal loss of messages in the logs alerted me when the number of requests was not large.
By comparing the logs, the problem that the message group representing the metadata is not consistent with the actual message.

A simple solution is to add lock like in the `SimpleMessageStore`, which is also the approach taken in this pull request.

* Add `LockRegistry` to `AbstractMessageGroupStore`
* Normalize access levels and method name about the lock of `MessageGroupStore`
* Add document about the lock of `AbstractMessageGroupStore`
2025-01-08 12:18:12 -05:00
dependabot[bot]
12a643d494 Bump org.assertj:assertj-core from 3.27.1 to 3.27.2 (#9742)
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.27.1 to 3.27.2.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.27.1...assertj-build-3.27.2)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-05 01:28:31 +00:00
Artem Bilan
6e9fd47426 GH-9706: Allow collection of payloads as an aggregator result
Fixes: https://github.com/spring-projects/spring-integration/issues/9706

Previously, if a `MessageGroupProcessor` returns a collection of payloads,
the `AbstractCorrelatingMessageHandler` has failed with the `IllegalArgumentException`
stating that only collection of messages is possible.
From now on such a restriction is eliminated and returned collection of payloads
is emitted as a single reply message from the aggregator.

* Add `AbstractCorrelatingMessageHandler.isResultCollectionOfMessages()`
to return `true` only if result is a collection of messages, treating them as a "partial sequence".
* Deprecate `AbstractCorrelatingMessageHandler.verifyResultCollectionConsistsOfMessages()`
since it is out of use now.
2025-01-02 16:26:37 -05:00
Artem Bilan
54fbce4b98 GH-9683: Remove deprecated Groovy components for Control Bus
Related to: https://github.com/spring-projects/spring-integration/issues/9683

The functionality is now fully covered by the `ControlBusCommandRegistry` API
2025-01-02 14:14:15 -05:00
Artem Bilan
d9f21fef42 GH-9683: Bring back controlBus() API
Fixes: https://github.com/spring-projects/spring-integration/issues/9683

Since we don't support SpEL-based Control Bus functionality anymore,
there is no need to keep separate `controlBusOnRegistry()`

* In all DSLs Deprecate `controlBusOnRegistry()` and restore `controlBus()` which is now fully based
on the `ControlBusCommandRegistry`
* Deprecate now out of use `<control-bus use-registry="">` attribute
* Fix `ControlBusParser` to not deal with `use-registry` attribute anymore
* Remove deprecated before `ExpressionControlBusFactoryBean` and `ExpressionCommandMessageProcessor`
* Remove `use-registry` from test configs
* Fix `ControlBusChainTests` to rely on a new Control Bus functionality
2025-01-02 14:06:31 -05:00
Artem Bilan
37664fb2aa Fix Javadoc tags order in the CheckedCallable 2025-01-02 12:54:58 -05:00
Artem Bilan
ffcf5f91f1 Fix Javadoc errors in the CheckedCallable 2025-01-02 12:49:40 -05:00
Artem Bilan
31642a20b2 GH-9698: Remove deprecated AMQP tx-size attribute
Fixes: https://github.com/spring-projects/spring-integration/issues/9698

This is replaced now with a `batch-size` attribute
2025-01-02 12:47:08 -05:00
Artem Bilan
8ee1a36da4 GH-9704: Properly implement CheckedCallable.unchecked()
Fixes: https://github.com/spring-projects/spring-integration/issues/9704

* Make `CheckedCallable.unchecked()` to return an expected `Callable`
* Deprecate for removal `CheckedCallable.uncheckedCallable()`
2025-01-02 12:40:41 -05:00
Artem Bilan
9d29bdf5b5 GH-9618: Remove usage of ListenableFuture
Fixes: https://github.com/spring-projects/spring-integration/issues/9618
2025-01-02 11:25:46 -05:00
Artem Bilan
12ceaec096 Start version 6.5
* Upgrade dependencies to latest reasonable
* Add `6.4.x` branch to Dependabot config
* Move `whats-new.adoc` content to `changes-6.3-6.4.adoc`
* Optimize `build.gradle` moving `add-opens` for `java.base/java.util` to common config block
2025-01-02 11:00:32 -05:00
dependabot[bot]
9f6e90112c Bump debeziumVersion from 3.0.4.Final to 3.0.6.Final (#9739)
Bumps `debeziumVersion` from 3.0.4.Final to 3.0.6.Final.

Updates `io.debezium:debezium-embedded` from 3.0.4.Final to 3.0.6.Final

Updates `io.debezium:debezium-connector-mysql` from 3.0.4.Final to 3.0.6.Final

---
updated-dependencies:
- dependency-name: io.debezium:debezium-embedded
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.debezium:debezium-connector-mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 00:24:31 +00:00
dependabot[bot]
6596a0c63f Bump the development-dependencies group with 2 updates (#9738)
Bumps the development-dependencies group with 2 updates: [org.hibernate.orm:hibernate-core](https://github.com/hibernate/hibernate-orm) and com.github.spotbugs.


Updates `org.hibernate.orm:hibernate-core` from 6.6.3.Final to 6.6.4.Final
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.3...6.6.4)

Updates `com.github.spotbugs` from 6.0.26 to 6.0.27

---
updated-dependencies:
- dependency-name: org.hibernate.orm:hibernate-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-22 00:23:54 +00:00
Artem Bilan
09b61991ff KafkaDslTests: change group for MS in attempt to mitigate seeks 2024-12-20 11:10:41 -05:00
Artem Bilan
2378f3f954 Don't use earliest offset reset in the KafkaDslTests 2024-12-19 10:26:33 -05:00
Spring Builds
0781aadba3 [artifactory-release] Next development version 2024-12-17 20:09:18 +00:00
Spring Builds
8039b58f2c [artifactory-release] Release version 6.4.1 2024-12-17 20:09:17 +00:00
Artem Bilan
02a17e1d57 Add @LogLevels to KafkaDslTests for more diagnostics 2024-12-17 14:02:22 -05:00
Artem Bilan
af4277e2f4 Attempt to mitigate KafkaDslTests without timestamp 2024-12-17 13:49:44 -05:00
Artem Bilan
5e3d8d890a GH-9711: Avoid double URL encoding in SmbShare
Fixes: #9711
Issue link: https://github.com/spring-projects/spring-integration/issues/9711

The `SmbConfig.getUrl(_includePassword)` uses `URI.toASCIIString()` which has all the parts of the URI encoded.
Then this string is used by the `SmbShare` for its super constructor, which, in turn, calls `new URL()`
leading, essentially, to a second encoding round.

* Add `SmbConfig.rawUrl()` methods to return an `smb://` url as a plain string.
* Use this new API in the `SmbShare` for a delegation constructor
* Modify some tests to reflect and cover new behavior

**Auto-cherry-pick to `6.3.x`**
2024-12-17 13:06:46 -05:00
dependabot[bot]
008f70857a Bump org.junit:junit-bom from 5.11.3 to 5.11.4 (#9735)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.3...r5.11.4)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-17 11:41:02 +00:00
dependabot[bot]
90aa08f40d Bump org.springframework.amqp:spring-amqp-bom from 3.2.0 to 3.2.1 (#9736)
Bumps [org.springframework.amqp:spring-amqp-bom](https://github.com/spring-projects/spring-amqp) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/spring-projects/spring-amqp/releases)
- [Commits](https://github.com/spring-projects/spring-amqp/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: org.springframework.amqp:spring-amqp-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-17 11:20:13 +00:00
dependabot[bot]
181308a014 Bump the development-dependencies group with 2 updates (#9732)
Bumps the development-dependencies group with 2 updates: [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) and io.spring.dependency-management.


Updates `org.springframework.security:spring-security-bom` from 6.4.1 to 6.4.2
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/6.4.1...6.4.2)

Updates `io.spring.dependency-management` from 1.1.6 to 1.1.7

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: io.spring.dependency-management
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-17 11:20:04 +00:00
dependabot[bot]
2d741d0682 Bump org.springframework.kafka:spring-kafka-bom from 3.3.0 to 3.3.1 (#9733)
Bumps [org.springframework.kafka:spring-kafka-bom](https://github.com/spring-projects/spring-kafka) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/spring-projects/spring-kafka/releases)
- [Commits](https://github.com/spring-projects/spring-kafka/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: org.springframework.kafka:spring-kafka-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-17 11:19:31 +00:00
dependabot[bot]
ef02cb829a Bump io.projectreactor:reactor-bom from 2024.0.0 to 2024.0.1 (#9729)
Bumps [io.projectreactor:reactor-bom](https://github.com/reactor/reactor) from 2024.0.0 to 2024.0.1.
- [Release notes](https://github.com/reactor/reactor/releases)
- [Commits](https://github.com/reactor/reactor/compare/2024.0.0...2024.0.1)

---
updated-dependencies:
- dependency-name: io.projectreactor:reactor-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:52:41 +00:00
dependabot[bot]
5f080e0eb9 Bump io.micrometer:micrometer-tracing-bom from 1.4.0 to 1.4.1 (#9727)
Bumps [io.micrometer:micrometer-tracing-bom](https://github.com/micrometer-metrics/tracing) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/micrometer-metrics/tracing/releases)
- [Commits](https://github.com/micrometer-metrics/tracing/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-tracing-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:51:55 +00:00
dependabot[bot]
f02a6ae48e Bump org.springframework:spring-framework-bom from 6.2.0 to 6.2.1 (#9726)
Bumps [org.springframework:spring-framework-bom](https://github.com/spring-projects/spring-framework) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: org.springframework:spring-framework-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:37:30 +00:00
dependabot[bot]
ef388afe84 Bump org.apache.logging.log4j:log4j-bom from 2.24.2 to 2.24.3 (#9724)
Bumps [org.apache.logging.log4j:log4j-bom](https://github.com/apache/logging-log4j2) from 2.24.2 to 2.24.3.
- [Release notes](https://github.com/apache/logging-log4j2/releases)
- [Changelog](https://github.com/apache/logging-log4j2/blob/2.x/RELEASE-NOTES.adoc)
- [Commits](https://github.com/apache/logging-log4j2/compare/rel/2.24.2...rel/2.24.3)

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:20:45 +00:00
dependabot[bot]
16c39677b5 Bump org.springframework.retry:spring-retry from 2.0.10 to 2.0.11 (#9730)
Bumps [org.springframework.retry:spring-retry](https://github.com/spring-projects/spring-retry) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/spring-projects/spring-retry/releases)
- [Commits](https://github.com/spring-projects/spring-retry/compare/v2.0.10...v2.0.11)

---
updated-dependencies:
- dependency-name: org.springframework.retry:spring-retry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:11:58 +00:00
dependabot[bot]
4ca94a9d7d Bump org.springframework.data:spring-data-bom from 2024.1.0 to 2024.1.1 (#9728)
Bumps [org.springframework.data:spring-data-bom](https://github.com/spring-projects/spring-data-bom) from 2024.1.0 to 2024.1.1.
- [Release notes](https://github.com/spring-projects/spring-data-bom/releases)
- [Commits](https://github.com/spring-projects/spring-data-bom/compare/2024.1.0...2024.1.1)

---
updated-dependencies:
- dependency-name: org.springframework.data:spring-data-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:03:17 +00:00
dependabot[bot]
704554973f Bump io.micrometer:micrometer-bom from 1.14.1 to 1.14.2 (#9725)
Bumps [io.micrometer:micrometer-bom](https://github.com/micrometer-metrics/micrometer) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](https://github.com/micrometer-metrics/micrometer/compare/v1.14.1...v1.14.2)

---
updated-dependencies:
- dependency-name: io.micrometer:micrometer-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:01:27 +00:00
dependabot[bot]
11c033bd66 Bump org.apache.tomcat.embed:tomcat-embed-websocket (#9723)
Bumps the development-dependencies group with 1 update: org.apache.tomcat.embed:tomcat-embed-websocket.


Updates `org.apache.tomcat.embed:tomcat-embed-websocket` from 10.1.33 to 10.1.34

---
updated-dependencies:
- dependency-name: org.apache.tomcat.embed:tomcat-embed-websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-15 01:00:22 +00:00
Falk Hanisch
c677fc56f2 GH-9713: Add @Nullable to IntegrationEvent.getCause()
Fixes: #9713

**Auto-cherry-pick to `6.3.x`**
2024-12-12 21:33:50 -05:00
Artem Bilan
a4b193fa64 GH-9684: Auto-create temporary remote directory
Fixes: #9684
Issue link: https://github.com/spring-projects/spring-integration/issues/9684

The `RemoteFileTemplate` is missing to create a temporary remote directory

* Fix `RemoteFileTemplate.sendFileToRemoteDirectory()` to create a `temporaryRemoteDirectory`
as well if it is different from already created `remoteDirectory`
* Add `SftpServerOutboundTests.autoCreateTemporaryDirectory()` to verify that `temporaryRemoteDirectory` is created and in-use
* Some other `SftpServerOutboundTests` refactoring for better code style

**Auto-cherry-pick to `6.3.x`**
2024-12-12 17:31:07 -05:00
Artem Bilan
4d84220dad GH-9709: Fix IntegrationFlow for input channel resolution
Fixes: #9709
Issue link: https://github.com/spring-projects/spring-integration/issues/9709

The Java DSL loses an `inputChannel` when existing channel is referenced by its name.
Then the target IntegrationFlow does not contain a bean reference for this channel and when we call its `getInputChannel()` we got something from middle of the flow.
However, that `inputChannel` is really expected to be an input for the flow.

* Fix `IntegrationFlowBeanPostProcessor` to get a bean by `MessageChannelReference` and populate it into `targetIntegrationComponents`
as we do for newly created `DirectChannel` if there is no bean for provided `MessageChannelReference`

**Auto-cherry-pick to `6.3.x`**
2024-12-10 16:38:07 -05:00
Shirshak
b1032a7372 TCP/IP: Add docs regarding host verification 2024-12-10 10:03:22 -05:00
Mitchell
7fc104ac8b GH-9705: AbstractReplyProducingMessageHandler: check for logging enabled
Fixes: #9705
Issue link: https://github.com/spring-projects/spring-integration/issues/9705

Currently when any class that implements `AbstractReplyProducingMessageHandler` doesn't produce a reply it will log the message, even if no reply is required. 
The message should only be logged if `isLoggingEnabled()` returns true as a handler that doesn't require a reply may be a normal operation that is expected, and if we've set `loggingEnabled` to false it shouldn't log the message.

* Prevent logging when no reply is provided for an `AbstractReplyProducingMessageHandler` if logging is disabled

**Auto-cherry-pick to `6.3.x`**
2024-12-10 10:02:21 -05:00
Artem Bilan
dd7dd09d00 Fix Javadoc style errors in the CheckedCallable
**Auto-cherry-pick to `6.3.x`**
2024-12-09 13:27:56 -05:00
Artem Bilan
8c22bf6430 GH-9702: Add CheckedCallable.uncheckedCallable
Fixes: #9702
Issue link: https://github.com/spring-projects/spring-integration/issues/9702

The current `CheckedCallable.unchecked()` returns `Runnable`, which is not an expectation.

* Deprecate `CheckedCallable.unchecked()` in favor of newly introduced `CheckedCallable.uncheckedCallable()`.
We cannot call it `unchecked()` as well, since `Callable` after erasure becomes similar to class signature as `Runnable`.

**Auto-cherry-pick to `6.3.x`**
2024-12-09 13:17:40 -05:00
Artem Bilan
954cdaced7 Fix link for functions-support.adoc
* Mention `Spring Functions Catalog` project in the `functions-support.adoc`
2024-12-09 13:03:52 -05:00