[jira] [Commented] (CAMEL-13424) Rest Component custom routeId is not accessible in processor

2019-07-12 Thread Freeman Fang (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-13424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884120#comment-16884120
 ] 

Freeman Fang commented on CAMEL-13424:
--

test case added in camel code base to ensure it works

> 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
> 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)


[jira] [Commented] (CAMEL-13424) Rest Component custom routeId is not accessible in processor

2019-07-05 Thread Freeman Fang (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-13424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16879441#comment-16879441
 ] 

Freeman Fang commented on CAMEL-13424:
--

I will verify the testcase here

> 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
> 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.3#76005)


[jira] [Commented] (CAMEL-13424) Rest Component custom routeId is not accessible in processor

2019-07-04 Thread Claus Ibsen (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-13424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878955#comment-16878955
 ] 

Claus Ibsen commented on CAMEL-13424:
-

Could be fixed by CAMEL-13724

> 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
>Priority: Major
> 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.3#76005)


[jira] [Commented] (CAMEL-13424) Rest Component custom routeId is not accessible in processor

2019-06-26 Thread Jan Bednar (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-13424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873637#comment-16873637
 ] 

Jan Bednar commented on CAMEL-13424:


Cannot reproduce this in 2.23.1. Passing unit test in attachment. 
[^Camel13424Test.java]

> 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
>Priority: Major
> 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.3#76005)