Skip to content

CAMEL-23614: Add getFromRouteGroup() to Exchange API#23524

Merged
davsclaus merged 1 commit into
mainfrom
CAMEL-23614
May 26, 2026
Merged

CAMEL-23614: Add getFromRouteGroup() to Exchange API#23524
davsclaus merged 1 commit into
mainfrom
CAMEL-23614

Conversation

@davsclaus
Copy link
Copy Markdown
Contributor

Summary

  • Adds getFromRouteGroup() method to the Exchange interface, allowing users to retrieve the route group of the originating route
  • Implementation in AbstractExchange resolves the group via getFromRouteId()getContext().getRoute(id).getGroup() with null-safe checks
  • Includes unit test SedaFromRouteGroupTest verifying group is propagated and null when not set

Test plan

  • SedaFromRouteGroupTest passes — verifies getFromRouteGroup() returns "myGroup" for grouped route and null for ungrouped route
  • CI green

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davsclaus davsclaus merged commit f805cda into main May 26, 2026
5 of 6 checks passed
@davsclaus davsclaus deleted the CAMEL-23614 branch May 26, 2026 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant