[ 
https://issues.apache.org/jira/browse/CAMEL-13424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang resolved CAMEL-13424.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0.M5
                   2.25.0
                   2.24.2
                   2.23.4
                   3.0.0

> Rest Component custom routeId is not accessible in processor
> ------------------------------------------------------------
>
>                 Key: CAMEL-13424
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13424
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core, rest
>    Affects Versions: 2.23.1
>         Environment: Apache camel 2.23.x,Tomcat 9, JDK 8
>            Reporter: Maheswara Prasanna Govindasamy
>            Assignee: Freeman Fang
>            Priority: Major
>             Fix For: 3.0.0, 2.23.4, 2.24.2, 2.25.0, 3.0.0.M5
>
>         Attachments: Camel13424Test.java
>
>
> Rest component route id set in routebuilder is not accessible in processor. 
> Below is the example
> RouteBuilder:
> {{rest("/app").get("/test").id("REST-TEST").to("direct:test").endRest();}}
> from("direct:test").routeId("TEST").id("TEST").process("TestProcessor");
> or
> rest("/app").get("/test").route().routeId("TEST").id("REST-TEST")
> {{Processor:}}
> {{String routeId = exchange.getFromRouteId();}}{{}}
> {{routeId is always random id in case of apache camel 2.23.x but works in 
> 2.22.x versions.}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to