gnodet-bot commented on code in PR #29203:
URL: https://github.com/apache/camel/pull/29203#discussion_r4477605351
##########
core/camel-api/src/main/java/org/apache/camel/ExchangeExtension.java:
##########
@@ -69,6 +69,23 @@ public interface ExchangeExtension {
*/
void setUnitOfWork(@Nullable UnitOfWork unitOfWork);
+ /**
+ * Sets the unit of work of a parent exchange, which this exchange shares
(the shareUnitOfWork option of the Split,
+ * Multicast and Recipient List EIPs).
+ * <p/>
Review Comment:
test inline position 7
##########
core/camel-api/src/main/java/org/apache/camel/ExchangeExtension.java:
##########
@@ -69,6 +69,23 @@ public interface ExchangeExtension {
*/
void setUnitOfWork(@Nullable UnitOfWork unitOfWork);
+ /**
+ * Sets the unit of work of a parent exchange, which this exchange shares
(the shareUnitOfWork option of the Split,
+ * Multicast and Recipient List EIPs).
+ * <p/>
+ * The exchange uses that unit of work, but when it hands over its on
completions (such as when it is sent to an
+ * asynchronous endpoint like seda) it only hands over the on completions
it added with
+ * {@link #addOnCompletion(Synchronization)}. The other on completions of
the shared unit of work (such as the
Review Comment:
test position 10
--
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]