Commit Graph

11696 Commits

Author SHA1 Message Date
Artem Bilan
809d1396af GH-8983: Add MongoDB DocumentToMessageHistoryConverter
Fixes: #8983

Since collections in MongoDB cannot be deserialized to custom types anymore,
add a new `DocumentToMessageHistoryConverter` to convert the `Document` with `components`
into a `MessageHistory` instance back

**Auto-cherry-pick to `6.2.x`**
2024-03-08 17:23:18 -05:00
Artem Bilan
2731e9411e GH-7925: Make message history header as mutable
Fixes: #7925

The `MessageHistory.write()` creates not only a new instance of the `MessageHistory`,
but also a new copy of the whole message.
This significantly impacts the performance when we have too many components to track

* Make `MessageHistory` as append-only container and create a new instance (plus message)
only on the first track when no prior history is present
* Change `WireTap`, `BroadcastingDispatcher`, `AbstractMessageRouter` and `AbstractMessageSplitter`
to use a new `AbstractIntegrationMessageBuilder.cloneMessageHistoryIfAny()` API for every branch a message
is produced.
Essentially, create a new message with copy of the message history to let that downstream sub-flow
have its own trace
* Modify failed unit tests for a new logic where message history header is not immutable anymore
* This also fixes an `AbstractMessageSplitter` for propagating its track into messages it emits

* * Do not clone message history header if only one consume in multi-publish
* Fix typos in docs
2024-03-05 15:05:34 -05:00
dependabot[bot]
3fbe917e6c Bump the development-dependencies group with 1 update (#8974)
Bumps the development-dependencies group with 1 update: com.github.spotbugs.


Updates `com.github.spotbugs` from 6.0.7 to 6.0.8

---
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-03-03 02:58:14 +00:00
dependabot[bot]
f4bc0f6ff5 Bump debeziumVersion from 2.5.1.Final to 2.5.2.Final (#8977)
Bumps `debeziumVersion` from 2.5.1.Final to 2.5.2.Final.

Updates `io.debezium:debezium-embedded` from 2.5.1.Final to 2.5.2.Final

Updates `io.debezium:debezium-connector-mysql` from 2.5.1.Final to 2.5.2.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-03-03 00:27:08 +00:00
dependabot[bot]
a5a70ddafc Bump org.apache.groovy:groovy-bom from 4.0.18 to 4.0.19 (#8976)
Bumps [org.apache.groovy:groovy-bom](https://github.com/apache/groovy) from 4.0.18 to 4.0.19.
- [Commits](https://github.com/apache/groovy/commits)

---
updated-dependencies:
- dependency-name: org.apache.groovy:groovy-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-03-03 00:26:53 +00:00
dependabot[bot]
0e7c761525 Bump org.apache.sshd:sshd-sftp from 2.12.0 to 2.12.1 (#8975)
Bumps [org.apache.sshd:sshd-sftp](https://github.com/apache/mina-sshd) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/apache/mina-sshd/releases)
- [Changelog](https://github.com/apache/mina-sshd/blob/master/CHANGES.md)
- [Commits](https://github.com/apache/mina-sshd/compare/sshd-2.12.0...sshd-2.12.1)

---
updated-dependencies:
- dependency-name: org.apache.sshd:sshd-sftp
  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-03-03 00:26:30 +00:00
Maksim Sasnouski
3aa19ca132 Upgrade com.gradle.enterprise plugin to 3.16.2 2024-02-29 12:40:09 -05:00
Artem Bilan
62b3eaff88 Move Jackson enforcement for Dokka to all projects 2024-02-28 11:46:13 -05:00
Artem Bilan
da717b5a52 Enforce Jackson 2.15.3 for Dokka plugin 2024-02-28 11:33:54 -05:00
Artem Bilan
6f3b642f73 Upgrade dependencies to the latest minor versions
* Fix deprecation from AssertJ
2024-02-28 10:59:03 -05:00
Artem Bilan
c78630e6a9 GH-8967: maxFetchSize = 1 from the StandardRotationPolicy
Fixes: #8967

In the `fair` mode the `StandardRotationPolicy` re-configures an `AbstractFetchLimitingMessageSource`
for a new directory (and possible new `ConnectionFactory`) in the `beforeReceive()`.
However, with default `maxFetchSize` (or bigger than `1`), the `receive()`` would poll `toBeReceived` internal queue
 for files cached from the previous polling cycle.
Since we rotate the source immediately to a new set of options, all those cached files don't make sense
or even can cause the problem on fetching their content in case of `AbstractRemoteFileStreamingMessageSource`
when we rotate to a new `ConnectionFactory`.

* Call `fetchLimitingMessageSource.setMaxFetchSize(1);` in the `StandardRotationPolicy.beforeReceive()`
when `fair && !this.initialized`

**Auto-cherry-pick to `6.2.x` & `6.1.x`**
2024-02-26 16:59:13 -05:00
dependabot[bot]
a5e957551e Bump the development-dependencies group with 1 update
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.19.5 to 1.19.6
- [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.19.5...1.19.6)

---
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-02-26 16:03:30 -05:00
dependabot[bot]
dcd7107b57 Bump io.micrometer:micrometer-tracing-bom (#8961)
Bumps [io.micrometer:micrometer-tracing-bom](https://github.com/micrometer-metrics/tracing) from 1.3.0-M1 to 1.3.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-02-25 03:46:31 +00:00
dependabot[bot]
fd49594ca1 Bump org.springframework.graphql:spring-graphql (#8962)
Bumps [org.springframework.graphql:spring-graphql](https://github.com/spring-projects/spring-graphql) from 1.3.0-M1 to 1.3.0-SNAPSHOT.
- [Release notes](https://github.com/spring-projects/spring-graphql/releases)
- [Commits](https://github.com/spring-projects/spring-graphql/commits)

---
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-02-25 00:41:40 +00:00
dependabot[bot]
b9d4ff7b17 Bump org.springframework.data:spring-data-bom (#8958)
Bumps [org.springframework.data:spring-data-bom](https://github.com/spring-projects/spring-data-bom) from 2024.0.0-M1 to 2024.0.0-SNAPSHOT.
- [Release notes](https://github.com/spring-projects/spring-data-bom/releases)
- [Commits](https://github.com/spring-projects/spring-data-bom/commits)

---
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-02-25 00:36:26 +00:00
dependabot[bot]
fff2470491 Bump org.springframework.security:spring-security-bom (#8959)
Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 6.3.0-M2 to 6.3.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-02-25 00:35:17 +00:00
dependabot[bot]
4e4269da35 Bump org.springframework.kafka:spring-kafka-bom (#8960)
Bumps [org.springframework.kafka:spring-kafka-bom](https://github.com/spring-projects/spring-kafka) from 3.2.0-M1 to 3.2.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-02-25 00:34:53 +00:00
dependabot[bot]
e9c7cad8af Bump io.micrometer:micrometer-bom from 1.13.0-M1 to 1.13.0-SNAPSHOT (#8963)
Bumps [io.micrometer:micrometer-bom](https://github.com/micrometer-metrics/micrometer) from 1.13.0-M1 to 1.13.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-02-25 00:34:42 +00:00
Artem Bilan
2b576c57d6 GH-8950: Fix PublisherIntegrationFlow for AbstractEndpoint
Fixes: #8950

The `IntegrationFlow.toReactivePublisher(true)` makes `PublisherIntegrationFlow`
to be stopped from the beginning and waiting for the `Publisher.subscribe()`.
However only `EndpointSpec` components are marked as `autoStartup(false)`.
The `MessageProducerSupport` is not included, therefore unexpected messages
are produced to the channel in the end of flow without subscribers.

* Check for `AbstractEndpoint` component type in the `PublisherIntegrationFlow`
and mark it as `setAutoStartup(false)`
* Ensure in a new `ReactiveStreamsTests.messageProducerIsNotStartedAutomatically()` test
that `MessageProducerSupport` is not started from the beginning,
but rather when we subscribe to the `Publisher` via `StepVerifier`

**Auto-cherry-pick to `6.2.x` & `6.1.x`**
2024-02-23 13:01:38 -05:00
Spring Builds
3751206e56 [artifactory-release] Next development version 2024-02-21 15:08:29 +00:00
Spring Builds
f27f363394 [artifactory-release] Release version 6.3.0-M1 2024-02-21 15:08:26 +00:00
Artem Bilan
7944c1bfdb Downgrade to Checkstyle 10.12.5 2024-02-21 09:29:45 -05:00
Artem Bilan
4d5200f459 Upgrade to the latest Spring milestones; prepare for release 2024-02-21 09:25:59 -05:00
dependabot[bot]
a24d02811e Bump org.jruby:jruby-complete from 9.4.5.0 to 9.4.6.0 (#8948)
Bumps org.jruby:jruby-complete from 9.4.5.0 to 9.4.6.0.

---
updated-dependencies:
- dependency-name: org.jruby:jruby-complete
  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-02-20 18:44:22 +00:00
dependabot[bot]
44a98d33b3 Bump the development-dependencies group with 3 updates (#8947)
Bumps the development-dependencies group with 3 updates: [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc), org.apache.tomcat.embed:tomcat-embed-websocket and [org.ajoberstar.grgit](https://github.com/ajoberstar/grgit).


Updates `org.postgresql:postgresql` from 42.7.1 to 42.7.2
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/commits)

Updates `org.apache.tomcat.embed:tomcat-embed-websocket` from 10.1.18 to 10.1.19

Updates `org.ajoberstar.grgit` from 5.2.1 to 5.2.2
- [Release notes](https://github.com/ajoberstar/grgit/releases)
- [Commits](https://github.com/ajoberstar/grgit/compare/5.2.1...5.2.2)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: org.apache.tomcat.embed:tomcat-embed-websocket
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: org.ajoberstar.grgit
  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-02-20 18:03:40 +00:00
Václav Haisman
94bb9b759e MqttProtocolErrorEvent: Typo occured -> occurred 2024-02-18 09:59:11 -05:00
dependabot[bot]
985ec0ded6 Bump io.projectreactor:reactor-bom from 2023.0.2 to 2023.0.3 (#8907)
Bumps [io.projectreactor:reactor-bom](https://github.com/reactor/reactor) from 2023.0.2 to 2023.0.3.
- [Release notes](https://github.com/reactor/reactor/releases)
- [Commits](https://github.com/reactor/reactor/compare/2023.0.2...2023.0.3)

---
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-02-16 23:08:51 +00:00
dependabot[bot]
8fe310bd84 Bump com.fasterxml.jackson:jackson-bom from 2.15.3 to 2.15.4 (#8906)
Bumps [com.fasterxml.jackson:jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.15.3 to 2.15.4.
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.15.3...jackson-bom-2.15.4)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-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-02-16 22:06:14 +00:00
dependabot[bot]
8eb0563b31 Bump org.springframework:spring-framework-bom from 6.1.3 to 6.1.4 (#8905)
Bumps [org.springframework:spring-framework-bom](https://github.com/spring-projects/spring-framework) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.3...v6.1.4)

---
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-02-16 22:06:00 +00:00
dependabot[bot]
2a661cd662 Bump org.springframework.amqp:spring-amqp-bom (#8903)
Bumps [org.springframework.amqp:spring-amqp-bom](https://github.com/spring-projects/spring-amqp) from 3.1.2-SNAPSHOT to 3.1.3-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-02-16 22:05:49 +00:00
dependabot[bot]
e3687d2e6a Bump org.aspectj:aspectjweaver from 1.9.21 to 1.9.21.1 (#8902)
Bumps [org.aspectj:aspectjweaver](https://github.com/eclipse/org.aspectj) from 1.9.21 to 1.9.21.1.
- [Release notes](https://github.com/eclipse/org.aspectj/releases)
- [Commits](https://github.com/eclipse/org.aspectj/commits)

---
updated-dependencies:
- dependency-name: org.aspectj:aspectjweaver
  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-02-16 22:05:31 +00:00
Artem Bilan
51ec97dafa Add Dependabot scanning for support branches 2024-02-16 17:04:24 -05:00
Artem Bilan
1f4d27d71f Make PR & Dependabot WFs working against support branches
**Auto-cherry-pick to `6.2.x` & `6.1.x`**
2024-02-16 14:53:42 -05:00
Artem Bilan
1d73ab59af GH-8901: Add MockIntContext.substituteTriggerFor
Fixes: #8901

Provide a convenient API `MockIntegrationContext.substituteTriggerFor(String pollingAdapterId, Trigger trigger)`
to mitigate the time span which might be provided in the original configuration

* Add `MockIntegrationContext.substituteTriggerFor(String pollingAdapterId, Trigger trigger)`
* Refactor `MockIntegrationContext` for Java 17 code style
* Change `MockIntegrationContext.beans` to `MultiValueMap` since we may replace several properties of
the same endpoint
* Modify `MockMessageSourceTests.testMockMessageSource()` to use new `substituteTriggerFor()`, too
* Add Javadoc for the `OnlyOnceTrigger`
* Document the new feature and mention it with correlation to `OnlyOnceTrigger`
2024-02-15 14:59:52 -05:00
Artem Bilan
c35982e0e2 Fix preface.adoc for SI version 2024-02-15 13:35:35 -05:00
Artem Bilan
39dadec1db Upgrade to spring-kafka-3.2.0-SNAPSHOT 2024-02-12 10:22:53 -05:00
Artem Bilan
a8ed1dd9aa Optimize BPPs as AopInfrastructureBean
There is no need to post-process the framework internal BPPs.
Therefore, mark `GatewayProxyInstantiationPostProcessor`, `GlobalChannelInterceptorProcessor`, `IntegrationFlowBeanPostProcessor`
and `BaseIntegrationFlowDefinition.ReplyProducerCleaner` as an `AopInfrastructureBean`.
This way they are not post-processed via AOP `BeanPostProcessor`

* Migrate `org.springframework.integration.aop` tests to JUnit 5
* Fix race condition in the `FluxMessageChannelTests.noMemoryLeakInFluxMessageChannelForVolatilePublishers()`
where `FluxMessageChannel.upstreamSubscriptions` is updated from a different thread

**Auto-cherry-pick to `6.2.x`**
2024-02-09 17:35:06 -05:00
dependabot[bot]
5922a2ca7c Bump the development-dependencies group with 2 updates (#8896)
Bumps the development-dependencies group with 2 updates: [org.testcontainers:testcontainers-bom](https://github.com/testcontainers/testcontainers-java) and [org.hibernate.orm:hibernate-core](https://github.com/hibernate/hibernate-orm).


Updates `org.testcontainers:testcontainers-bom` from 1.19.4 to 1.19.5
- [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.19.4...1.19.5)

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

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: org.hibernate.orm:hibernate-core
  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-02-09 21:20:21 +00:00
dependabot[bot]
1fc27700e3 Bump org.junit:junit-bom from 5.10.1 to 5.10.2 (#8897)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.1 to 5.10.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.1...r5.10.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-02-09 21:18:36 +00:00
Artem Bilan
7f7ec29801 Upgrade to Gradle 8.6; latest reusable workflows
* Add `package-ecosystem: "github-actions"` for Dependabot

**Auto-cherry-pick to `6.2.x`**
2024-02-09 16:04:55 -05:00
Spring Builds
92cfd0ed05 Fix typos in JDBC & JPA docs
**Auto-cherry-pick to `6.2.x`**
2024-02-08 18:10:15 -05:00
Spring Builds
507c2b0755 Fix typos and broken links in docs
**Auto-cherry-pick to `6.2.x`**
2024-02-08 17:30:10 -05:00
Artem Bilan
31bb5fcdea Fix whats-new.adoc ref in the index.adoc
**Auto-cherry-pick to `6.2.x`**
2024-02-08 16:09:49 -05:00
Artem Bilan
09c020bfbf Use shorter name for auto-cherry-pick.yml job 2024-02-08 15:32:09 -05:00
Artem Bilan
f2a42292f7 Fix job name in the auto-cherry-pick.yml workflow 2024-02-08 15:11:58 -05:00
Artem Bilan
98e128f9a7 Fix job name in the auto-cherry-pick.yml
**Auto-cherry-pick to `6.2.x` & `6.1.x`**
2024-02-08 14:50:50 -05:00
Artem Bilan
4a02455971 Add auto-cherry-pick.yml GHA workflow 2024-02-08 14:14:44 -05:00
Artem Bilan
4b43969438 GH-8894: Fix race condition in the DelayHandler
Fixes: #8894

* Guard `this.messageStore` access in the `DelayHandler` with existing `this.lock`
to avoid `ConcurrentModificationException`

**Cherry-pick to `6.2.x`**
2024-02-07 16:41:10 -05:00
Artem Bilan
34bdff04c4 GH-8893: ExpERHA: Copy headers into ErrorMessage
Fixes: #8893

Simplify the target flows logic for `ExpressionEvaluatingRequestHandlerAdvice.failureChannel`
when no exception is re-thrown and target flow would like to produce a reply.

Currently, there is need in extra logic like `.enrichHeaders(e -> e.replyChannelExpression("payload.failedMessage.headers[replyChannel]"))`

* Copy failed `Message` headers into an `ErrorMessage` before sending it into the `failureChannel` from the `ExpressionEvaluatingRequestHandlerAdvice`
2024-02-07 14:18:27 -05:00
Artem Bilan
dbd46dfe3d GH-8889: FluxMCh: propagate context per message
Fixes: #8889

* Gather the current thread local state for the message into `IntegrationMessageHeaderAccessor.REACTOR_CONTEXT` header
before `this.sink.tryEmitNext(messageToEmit)`
* Restore thread locals for the current message in the `ReactiveStreamsConsumer.SubscriberDecorator` just before `this.delegate.onNext(messageToDeliver)`

**Cherry-pick to `6.2.x`**
2024-02-07 11:19:53 -05:00