You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/08/06 19:28:00 UTC
[jira] [Updated] (CAMEL-13429) Rest DSL - Allow dot as separator
for path parameters
[ https://issues.apache.org/jira/browse/CAMEL-13429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-13429:
--------------------------------
Component/s: rest
> Rest DSL - Allow dot as separator for path parameters
> -----------------------------------------------------
>
> Key: CAMEL-13429
> URL: https://issues.apache.org/jira/browse/CAMEL-13429
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, rest
> Affects Versions: 3.0.0-M1
> Reporter: Arian Treffer
> Priority: Minor
> Fix For: 3.x
>
>
> The following route configuration should accept the "content-type" parameter as one would expect for URLs like "items/1/details.xml":
> {code:java}
> rest("items/")
> .get("{id}/details.{content-type}"){code}
> Currently, "content-type" is not recognized as a parameter.
>
> Maybe other separators, e.g. dash "-", should be supported as well.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)