You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/05/26 09:55:43 UTC

[PR] CAMEL-23614: Add getFromRouteGroup() to Exchange API [camel]

davsclaus opened a new pull request, #23524:
URL: https://github.com/apache/camel/pull/23524

   ## 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
   - [x] `SedaFromRouteGroupTest` passes — verifies `getFromRouteGroup()` returns `"myGroup"` for grouped route and `null` for ungrouped route
   - [ ] CI green
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-23614: Add getFromRouteGroup() to Exchange API [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23524:
URL: https://github.com/apache/camel/pull/23524


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org