code-massel commented on code in PR #22769:
URL: https://github.com/apache/camel/pull/22769#discussion_r3191060743
##########
core/camel-core-model/src/main/java/org/apache/camel/model/AggregateDefinition.java:
##########
@@ -1004,6 +1016,16 @@ public AggregateDefinition optimisticLocking() {
return this;
}
+ /**
+ * When optimistic locking is enabled, retries happen synchronously in the
same thread instead of being scheduled on
+ * a background thread. This preserves transaction context for
repositories that require single-thread transactional
+ * guarantees.
+ */
Review Comment:
good point. done
--
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]