gnodet-bot commented on code in PR #30532:
URL: https://github.com/apache/camel/pull/30532#discussion_r4649519010
##########
components/camel-spring-parent/camel-spring/pom.xml:
##########
@@ -85,5 +85,17 @@
<artifactId>spring-tx</artifactId>
<version>${spring-version}</version>
</dependency>
+
+ <!-- testing -->
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-core</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
Review Comment:
⚠️ **Missing backport labels — data-integrity bug fix**
This bug causes async EIPs (Delay, Throttle, Threads) to run outside the
Spring transaction boundary after a nested PROPAGATION_REQUIRES_NEW route of
the same policy. A database insert in the delayed step commits on its own and
is not rolled back when the outer transaction rolls back. That is a real
data-integrity risk in production.
Maintenance branches with this exposure: `camel-4.22.x` and `camel-4.18.x`
(LTS). Please add:
- `port/camel-4.22.x`
- `port/camel-4.18.x`
- `lts` (the fix meets the LTS bar: data-integrity regression in a core
transactional primitive)
The pom.xml line is used as an anchor since the fix itself has no natural
inline location for a cross-cutting label concern.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]