Commit Graph

12021 Commits

Author SHA1 Message Date
Artem Bilan
f87aff3aa8 GH-9416: Extract BaseMessageBuilder for easier message extensions
Fixes: #9416
Issue link: https://github.com/spring-projects/spring-integration/issues/9416

The `MessageBuilderFactory` bean could be used a central place to provide custom `Message`
implementation into the application.
For example, the `GenericMessage.toString()` can be overridden to remove or mask sensitive
information from the payload or headers.

* Extract a `BaseMessageBuilder` from the `MessageBuilder` class to simplify
a custom `MessageBuilderFactory` implementation
* Test and document new feature and its purpose
2024-10-29 15:40:39 -04:00
dependabot[bot]
4ee55326df Bump io.micrometer:micrometer-tracing-bom (#9606)
Bumps [io.micrometer:micrometer-tracing-bom](https://github.com/micrometer-metrics/tracing) from 1.4.0-RC1 to 1.4.0-SNAPSHOT.
- [Release notes](https://github.com/micrometer-metrics/tracing/releases)
- [Commits](https://github.com/micrometer-metrics/tracing/commits)

---
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-10-27 00:36:42 +00:00
dependabot[bot]
4de13e689a Bump protobufVersion from 4.28.2 to 4.28.3 (#9604)
Bumps `protobufVersion` from 4.28.2 to 4.28.3.

Updates `com.google.protobuf:protobuf-java` from 4.28.2 to 4.28.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.28.2 to 4.28.3

Updates `com.google.protobuf:protoc` from 4.28.2 to 4.28.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>
2024-10-27 00:30:01 +00:00
dependabot[bot]
befa756621 Bump org.springframework.security:spring-security-bom (#9612)
Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 6.4.0-RC1 to 6.4.0-SNAPSHOT.
- [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/commits)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-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-10-27 00:29:47 +00:00
dependabot[bot]
4d70ff6457 Bump org.springframework.amqp:spring-amqp-bom (#9609)
Bumps [org.springframework.amqp:spring-amqp-bom](https://github.com/spring-projects/spring-amqp) from 3.2.0-RC1 to 3.2.0-SNAPSHOT.
- [Release notes](https://github.com/spring-projects/spring-amqp/releases)
- [Commits](https://github.com/spring-projects/spring-amqp/commits)

---
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-10-27 00:29:31 +00:00
dependabot[bot]
87b5313f4e Bump debeziumVersion from 3.0.0.Final to 3.0.1.Final (#9608)
Bumps `debeziumVersion` from 3.0.0.Final to 3.0.1.Final.

Updates `io.debezium:debezium-embedded` from 3.0.0.Final to 3.0.1.Final

Updates `io.debezium:debezium-connector-mysql` from 3.0.0.Final to 3.0.1.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-10-27 00:29:16 +00:00
dependabot[bot]
52872e8582 Bump io.micrometer:micrometer-bom from 1.14.0-RC1 to 1.14.0-SNAPSHOT (#9611)
Bumps [io.micrometer:micrometer-bom](https://github.com/micrometer-metrics/micrometer) from 1.14.0-RC1 to 1.14.0-SNAPSHOT.
- [Release notes](https://github.com/micrometer-metrics/micrometer/releases)
- [Commits](https://github.com/micrometer-metrics/micrometer/commits)

---
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-10-27 00:29:04 +00:00
dependabot[bot]
18cff390a0 Bump org.apache.camel:camel-bom from 4.8.0 to 4.8.1 (#9610)
Bumps org.apache.camel:camel-bom from 4.8.0 to 4.8.1.

---
updated-dependencies:
- dependency-name: org.apache.camel:camel-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-10-27 00:28:52 +00:00
dependabot[bot]
8f70d28518 Bump org.springframework.kafka:spring-kafka-bom (#9605)
Bumps [org.springframework.kafka:spring-kafka-bom](https://github.com/spring-projects/spring-kafka) from 3.3.0-RC1 to 3.3.0-SNAPSHOT.
- [Release notes](https://github.com/spring-projects/spring-kafka/releases)
- [Commits](https://github.com/spring-projects/spring-kafka/commits)

---
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-10-27 00:28:36 +00:00
dependabot[bot]
069c96b177 Bump spring-io/spring-github-workflows (#9601)
Bumps the development-dependencies group with 1 update: [spring-io/spring-github-workflows](https://github.com/spring-io/spring-github-workflows).


Updates `spring-io/spring-github-workflows` from 3 to 4
- [Release notes](https://github.com/spring-io/spring-github-workflows/releases)
- [Commits](https://github.com/spring-io/spring-github-workflows/compare/v3...v4)

---
updated-dependencies:
- dependency-name: spring-io/spring-github-workflows
  dependency-type: direct:production
  update-type: version-update:semver-major
  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-10-26 00:13:46 +00:00
Artem Bilan
334620f36e GH-9597: Fix Mqttv5PahoMessageHandler.publish() for concurrency
Fixes: #9597
Issue link: https://github.com/spring-projects/spring-integration/issues/9597

When input channel for the endpoint with a `Mqttv5PahoMessageHandler` is an `ExecutorChannel` and a lot of concurrent messages are sent,
the `Connect already in progress (32110)` exception can be thrown

* Wrap `this.mqttClient.connect()` in the `Mqttv5PahoMessageHandler.publish()` into a `Lock`

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-25 16:52:27 -04:00
Artem Bilan
91494094ac GH-9594: Fix FileReadingMessageSource for FileHeaders.RELATIVE_PATH
Fixes: #9594
Issue link: https://github.com/spring-projects/spring-integration/issues/9594

The `String.replaceFirst()` for directory with `[]` or `()` leads to a regex execution
which does not really replace the root path because of mismatch between regex and file path.
Essentially, the `Matcher.quoteReplacement()` does not do the trick we would expect from it.

* Use `Path.relativize()` API instead which works in canonical paths and proper file separators

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-25 13:29:47 -04:00
Artem Bilan
6f9e036078 Upgrade WFs from main to v4
The `v3` has to be updated by Dependabot automatically

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-23 14:40:32 -04:00
Spring Builds
220239147f [artifactory-release] Next development version 2024-10-23 15:12:50 +00:00
Spring Builds
6411c12cdf [artifactory-release] Release version 6.4.0-RC1 2024-10-23 15:12:47 +00:00
Artem Bilan
eac459acac Upgrade dependencies; prepare for release
* Upgrade Gradle to `8.10.2`
* Upgrade Antora extensions
* Upgrade to the latest `spring-io/antora-ui-spring`
* Upgrade MySQL connector-j to `9.1.0`
* Some code modernization for the `TcpNioConnectionTests`
2024-10-23 10:37:42 -04:00
dependabot[bot]
df1a3bc714 Bump org.testcontainers:testcontainers-bom (#9592)
Bumps the development-dependencies group with 1 update: [org.testcontainers:testcontainers-bom](https://github.com/testcontainers/testcontainers-java).


Updates `org.testcontainers:testcontainers-bom` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.20.2...1.20.3)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  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-10-23 12:23:35 +00:00
dependabot[bot]
75f731212b Bump org.springframework.graphql:spring-graphql from 1.3.2 to 1.3.3 (#9593)
Bumps [org.springframework.graphql:spring-graphql](https://github.com/spring-projects/spring-graphql) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/spring-projects/spring-graphql/releases)
- [Commits](https://github.com/spring-projects/spring-graphql/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: org.springframework.graphql:spring-graphql
  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-10-23 11:57:02 +00:00
Artem Bilan
9ae7527f20 Add manual-finalize-release.yml GHA WF 2024-10-23 07:53:28 -04:00
takeshi-rl
ce751ed63f Fix typos in the reactive-streams.adoc 2024-10-22 14:36:35 -04:00
dependabot[bot]
ca5ab364e7 Bump org.junit:junit-bom from 5.11.2 to 5.11.3 (#9587)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.2...r5.11.3)

---
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-10-22 17:37:37 +00:00
NaccOll
73bb813b53 GH-9561: Make DelayedMessageWrapper JSON-serializable
Fixes: #9561
PR: https://github.com/spring-projects/spring-integration/pull/9561

The `DelayHandler.DelayedMessageWrapper` cannot be deserialized when using `RedisMessageStore` and JSON serialization:
```
org.springframework.data.redis.serializer.SerializationException: Could not read JSON:Cannot construct instance of `org.springframework.integration.handler.DelayHandler$DelayedMessageWrapper` (no Creators, like default constructor, exist): cannot deserialize from Object value (no delegate- or property-based Creator)
 at [Source: UNKNOWN; byte offset: #UNKNOWN]
	at org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer.deserialize(GenericJackson2JsonRedisSerializer.java:311)
```

* More code clean up and refactoring in the test

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-22 12:02:59 -04:00
dependabot[bot]
1f11ac432e Bump com.github.spotbugs in the development-dependencies group (#9562)
Bumps the development-dependencies group with 1 update: com.github.spotbugs.


Updates `com.github.spotbugs` from 6.0.24 to 6.0.25

---
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>
2024-10-20 11:34:17 +00:00
dependabot[bot]
e899087527 Bump org.springframework.retry:spring-retry from 2.0.9 to 2.0.10 (#9566)
Bumps [org.springframework.retry:spring-retry](https://github.com/spring-projects/spring-retry) from 2.0.9 to 2.0.10.
- [Release notes](https://github.com/spring-projects/spring-retry/releases)
- [Commits](https://github.com/spring-projects/spring-retry/compare/v2.0.9...v2.0.10)

---
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-10-20 02:17:44 +00:00
dependabot[bot]
3daaf72ac1 Bump curatorVersion from 5.7.0 to 5.7.1 (#9563)
Bumps `curatorVersion` from 5.7.0 to 5.7.1.

Updates `org.apache.curator:curator-recipes` from 5.7.0 to 5.7.1
- [Commits](https://github.com/apache/curator/compare/apache-curator-5.7.0...apache-curator-5.7.1)

Updates `org.apache.curator:curator-test` from 5.7.0 to 5.7.1
- [Commits](https://github.com/apache/curator/compare/apache-curator-5.7.0...apache-curator-5.7.1)

---
updated-dependencies:
- dependency-name: org.apache.curator:curator-recipes
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.apache.curator:curator-test
  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-10-20 02:15:14 +00:00
dependabot[bot]
948923b422 Bump graalvmVersion from 24.1.0 to 24.1.1 (#9564)
Bumps `graalvmVersion` from 24.1.0 to 24.1.1.

Updates `org.graalvm.sdk:graal-sdk` from 24.1.0 to 24.1.1
- [Release notes](https://github.com/oracle/graal/releases)
- [Commits](https://github.com/oracle/graal/compare/vm-24.1.0...vm-24.1.1)

Updates `org.graalvm.polyglot:js` from 24.1.0 to 24.1.1
- [Release notes](https://github.com/oracle/graal/releases)
- [Commits](https://github.com/oracle/graal/compare/vm-24.1.0...vm-24.1.1)

Updates `org.graalvm.polyglot:python` from 24.1.0 to 24.1.1
- [Release notes](https://github.com/oracle/graal/releases)
- [Commits](https://github.com/oracle/graal/compare/vm-24.1.0...vm-24.1.1)

---
updated-dependencies:
- dependency-name: org.graalvm.sdk:graal-sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.graalvm.polyglot:js
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.graalvm.polyglot:python
  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-10-20 01:21:20 +00:00
dependabot[bot]
aff9919311 Bump org.mockito:mockito-bom from 5.14.1 to 5.14.2 (#9565)
Bumps [org.mockito:mockito-bom](https://github.com/mockito/mockito) from 5.14.1 to 5.14.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.14.1...v5.14.2)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-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-10-20 00:48:32 +00:00
Artem Bilan
e1cebafa5c GH-9558: Expose BarrierSpec.discardChannel & triggerTimeout
Fixes: #9558
Issue link: https://github.com/spring-projects/spring-integration/issues/9558

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-18 16:06:06 -04:00
Artem Bilan
15e914b75b Remove Bamboo mentioning from the tests 2024-10-18 14:33:43 -04:00
NaccOll
4d08e11903 Add Redis lock periodic renewal
Although `RenewableLockRegistry` provides a renew interface, it is inconvenient for users.
Developers hope to have a lock that can be automatically renewed.
On the one hand, it can avoid subsequent failures caused by locks that will not expire when abnormal exits,
and on the other hand, it can avoid unlock failures caused by lock expired.

* Add `RenewableLockRegistry.setRenewalTaskScheduler()` and when it is set, schedule a `renew()` script periodically
when lock is acquired  from Redis with `1/3` of `expireAfter`
* Test and document the feature
2024-10-17 16:49:14 -04:00
Filip Hrisafov
1de81b6717 Remove not used any more ImapIdleChannelAdapter.receivingTask property
The logic for the `ImapIdleChannelAdapter` was changed to not use `TaskScheduler`. 
When that was done the `ScheduledFuture<?> receivingTask` from the `ImapIdleChannelAdapter` was not removed.
2024-10-14 21:54:45 +00:00
Artem Bilan
d5ab03c0c7 GH-9524: Expose SourcePollingChannelAdapterSpec.taskScheduler
Fixes: #9524
Issue link: https://github.com/spring-projects/spring-integration/issues/9524

It is useful in some use-cases to be able to inject a custom `TaskScheduler`
(e.g. with a `TaskDecorator`) into a source polling channel adapter.

* Add `SourcePollingChannelAdapterFactoryBean.setTaskScheduler()`
 and call it from the `SourcePollingChannelAdapterSpec.taskScheduler()`
* Fix JavaDocs typos in the `ConsumerEndpointSpec`
* Test custom `TaskScheduler` usage and mention new option in the `whats-new.adoc`
2024-10-14 17:22:29 -04:00
Artem Bilan
be1156aff8 GH-3616: Defer default topic resolution to the ReplyingKafkaTemplate
Fixes: #3616
Issue link: https://github.com/spring-projects/spring-integration/issues/3616

The `KafkaProducerMessageHandler` uses an unnecessary logic to determine a default topic/partition.
It is better to push such a logic down to the `ReplyingKafkaTemplate` as more general solution

* Remove `KafkaProducerMessageHandler.getReplyTopic()` logic altogether
* Clean up tests for removed logic
* Add `exclude group: 'ch.qos.logback'` to be able to control logging for SI-Kafka module
* Remove out-dated sentence from `kafka.adoc`
2024-10-14 16:48:02 -04:00
Artem Bilan
05f5cd0827 Fix Pivotal for Broadcom 2024-10-14 15:31:10 -04:00
dependabot[bot]
c9773cda70 Bump com.esotericsoftware:kryo from 5.6.0 to 5.6.2 (#9553)
Bumps [com.esotericsoftware:kryo](https://github.com/EsotericSoftware/kryo) from 5.6.0 to 5.6.2.
- [Release notes](https://github.com/EsotericSoftware/kryo/releases)
- [Commits](https://github.com/EsotericSoftware/kryo/compare/kryo-parent-5.6.0...kryo-parent-5.6.2)

---
updated-dependencies:
- dependency-name: com.esotericsoftware:kryo
  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-10-13 00:36:46 +00:00
dependabot[bot]
0ba05310a6 Bump io.lettuce:lettuce-core from 6.5.0.RC1 to 6.5.0.RC2 (#9554)
Bumps [io.lettuce:lettuce-core](https://github.com/lettuce-io/lettuce-core) from 6.5.0.RC1 to 6.5.0.RC2.
- [Release notes](https://github.com/lettuce-io/lettuce-core/releases)
- [Changelog](https://github.com/redis/lettuce/blob/main/RELEASE-NOTES.md)
- [Commits](https://github.com/lettuce-io/lettuce-core/compare/6.5.0.RC1...6.5.0.RC2)

---
updated-dependencies:
- dependency-name: io.lettuce:lettuce-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>
2024-10-13 00:31:37 +00:00
dependabot[bot]
e0761ca807 Bump org.apache.tomcat.embed:tomcat-embed-websocket (#9552)
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.30 to 10.1.31

---
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-10-13 00:30:41 +00:00
Filip Hrisafov
5589daac8b GH-9546: IMAP: Flag messages after messages have been copied
Fixes: #9546
Issue link: https://github.com/spring-projects/spring-integration/pull/9546

Sometimes the IMAP connection breaks just after the message flags have been set, but the message has not been copied yet. 
This then leads to the message never being received by (as it has been flagged and the next search will not return it).

* Flag and maybe delete messages after messages have been copied

**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-11 13:50:24 -04:00
dependabot[bot]
6b42758d85 Bump org.apache.logging.log4j:log4j-bom from 2.24.0 to 2.24.1 (#9528)
Bumps [org.apache.logging.log4j:log4j-bom](https://github.com/apache/logging-log4j2) from 2.24.0 to 2.24.1.
- [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.0...rel/2.24.1)

---
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-10-10 19:18:41 +00:00
Artem Bilan
9b508e553f Upgrade deps and Gradle plugins to latest versions 2024-10-10 14:00:14 -04:00
Artem Bilan
01c04fb87c Increase timeout in the MethodInvokingMessageHandlerTests
**Auto-cherry-pick to `6.3.x` & `6.2.x`**
2024-10-09 16:27:33 -04:00
Artem Bilan
912af3dc22 Upgrade to Spring Data 2024.1.0 2024-10-09 15:18:22 -04:00
Artem Bilan
7d091cecf4 Fix Checkstyle violation in the RedisLockRegistry 2024-10-08 12:45:54 -04:00
Alexandr
1d4fbbc85e GH-9540: Add RedisLockRegistry.idleBetweenTries property
Fixes: https://github.com/spring-projects/spring-integration/issues/9540
2024-10-08 12:28:12 -04:00
Artem Bilan
30afdffb72 Fix CassandraContainerTest for latest Testcontainers
* Fix `HttpRequestExecutingMessageHandlerTests` for latest SF
2024-10-08 11:08:17 -04:00
Artem Bilan
7df1261cde Add gradleOptions input for the ci-snapshot.yml 2024-10-08 10:38:37 -04:00
Artem Bilan
899786ea58 GH-9539: Map AmqpHeaders.RETRY_COUNT in the DefaultAmqpHeaderMapper
Fixes: https://github.com/spring-projects/spring-integration/issues/9539
2024-10-07 17:15:25 -04:00
Artem Bilan
2ed6d3e301 GH-9538: Rely on the customizeMonoReply() for thread switching
Fixes: https://github.com/spring-projects/spring-integration/issues/9538

Some applications might not be satisfied with `.publishOn(Schedulers.boundedElastic())`
used by default for `Mono` replies.

* Remove that `.publishOn(Schedulers.boundedElastic())` from the `AbstractMessageProducingHandler`.
Instead, the target project is free to make a choice via `customizeMonoReply()`, e.g.:
```
.handle(RSockets.outboundGateway("/lowercase")
										.clientRSocketConnector(this.clientRSocketConnector),
								endpoint -> endpoint.customizeMonoReply((message, mono) ->
										mono.publishOn(Schedulers.boundedElastic())))
```
2024-10-07 14:52:35 -04:00
dependabot[bot]
8b1f828783 Bump org.junit:junit-bom from 5.11.1 to 5.11.2 (#9529)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.1...r5.11.2)

---
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-10-06 02:49:33 +00:00
dependabot[bot]
84938cba8f Bump com.icegreen:greenmail from 2.1.0-rc-1 to 2.1.0 (#9530)
Bumps [com.icegreen:greenmail](https://github.com/greenmail-mail-test/greenmail) from 2.1.0-rc-1 to 2.1.0.
- [Release notes](https://github.com/greenmail-mail-test/greenmail/releases)
- [Commits](https://github.com/greenmail-mail-test/greenmail/compare/release-2.1.0-rc-1...release-2.1.0)

---
updated-dependencies:
- dependency-name: com.icegreen:greenmail
  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-10-06 00:35:33 +00:00