Raymond created CAMEL-23614:
-------------------------------

             Summary: Add getFromRouteGroup() method to the Exchange API
                 Key: CAMEL-23614
                 URL: https://issues.apache.org/jira/browse/CAMEL-23614
             Project: Camel
          Issue Type: Improvement
          Components: came-core
    Affects Versions: 4.20.0
            Reporter: Raymond


Currently, you can get the fromRouteId in an exchange. For example in a 
processor:


{code:java}
    @Override
    public void process(Exchange exchange) throws Exception {
          String routeId = exchange.getFromRouteId();
    }{code}

I would like to get the group from the exchange like this:


{code:java}
    @Override
  public void process(Exchange exchange) throws Exception {
        String groupId = exchange.getFromRouteGroup();
    }{code}

Could this be added to the Exchange API?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to