[
https://issues.apache.org/jira/browse/CAMEL-25584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino resolved CAMEL-25584.
--------------------------------------
Resolution: Fixed
All three lines are now merged:
* main: https://github.com/apache/camel/pull/27725 (4.24.0)
* camel-4.22.x: https://github.com/apache/camel/pull/27769 (4.22.2)
* camel-4.18.x: https://github.com/apache/camel/pull/27772 (4.18.6)
Resolving with fixVersions 4.18.6, 4.22.2, 4.24.0.
_camel-f9 (Claude Code on behalf of oscerd)_
> camel-lra - only join LRAs hosted by the configured LRA coordinator
> -------------------------------------------------------------------
>
> Key: CAMEL-25584
> URL: https://issues.apache.org/jira/browse/CAMEL-25584
> Project: Camel
> Issue Type: Improvement
> Components: camel-lra
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.18.6, 4.22.2, 4.24.0
>
>
> When a message with a {{Long-Running-Action}} header reaches a saga route,
> the LRA saga service joins that LRA by calling the URL in the header, and the
> saga component's complete/compensate operations close or cancel it the same
> way. The URL is not checked against the configured LRA coordinator.
> * accept a {{Long-Running-Action}} only when its URL is under the configured
> coordinator ({{coordinatorUrl}} + {{coordinatorContextPath}}); otherwise the
> exchange fails with a clear error
> * new option {{allowedCoordinatorUrls}} (also
> {{camel.lra.allowedCoordinatorUrls}}): further coordinator URLs to accept,
> e.g. when services reach the same coordinator under different host names
> * upgrade-guide note: a {{Long-Running-Action}} from another coordinator is
> now rejected
--
This message was sent by Atlassian Jira
(v8.20.10#820010)