[
https://issues.apache.org/jira/browse/CAMEL-15058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107349#comment-17107349
]
Denis Istomin commented on CAMEL-15058:
---------------------------------------
[~davsclaus] thanks, my fault, I'll fix it
> Rest DSL generated controller error when dispatching request
> ------------------------------------------------------------
>
> Key: CAMEL-15058
> URL: https://issues.apache.org/jira/browse/CAMEL-15058
> Project: Camel
> Issue Type: Bug
> Components: tooling
> Affects Versions: 3.3.0
> Reporter: Denis Istomin
> Assignee: Denis Istomin
> Priority: Major
> Fix For: 3.4.0
>
>
> # Create spring boot project via maven archetype
> # Generate RestController using camel-restdsl-openapi:generate
> # Send request
> Generated conroller has code:
> {{String path = request.getRequestURI(){color:#cc7832};{color}}}
> {{request.getServletContext().getRequestDispatcher({color:#6a8759}"/camel/"
> {color}+ path).forward(request{color:#cc7832},
> {color}response){color:#cc7832};{color}}}
>
> when path starts with "/", concatenated string becomes "/camel//path"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)