You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jan Bednar (JIRA)" <ji...@apache.org> on 2019/06/26 20:28:00 UTC
[jira] [Comment Edited] (CAMEL-13424) Rest Component custom routeId
is not accessible in processor
[ https://issues.apache.org/jira/browse/CAMEL-13424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16873637#comment-16873637 ]
Jan Bednar edited comment on CAMEL-13424 at 6/26/19 8:28 PM:
-------------------------------------------------------------
Cannot reproduce this in 2.23.1. Passing unit test in attachment. [^Camel13424Test.java]. [~mahesgov] Is this related to any specific component? As I dont see the issue using restlet.
was (Author: bedla):
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)