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 10:37:00 UTC
[jira] [Updated] (CAMEL-11128) camel-rest : rest factories should
leverage http-commons
[ https://issues.apache.org/jira/browse/CAMEL-11128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-11128:
--------------------------------
Fix Version/s: (was: 3.0.0)
> camel-rest : rest factories should leverage http-commons
> --------------------------------------------------------
>
> Key: CAMEL-11128
> URL: https://issues.apache.org/jira/browse/CAMEL-11128
> Project: Camel
> Issue Type: Wish
> Components: camel-core
> Reporter: Luca Burgazzoli
> Priority: Minor
> Fix For: Future
>
>
> camel-rest creates producer and consumer using a factory which signatures look like:
> {code:java}
> Producer createProducer(
> CamelContext camelContext,
> String host,
> String verb,
> String basePath,
> String uriTemplate,
> String queryParameters,
> String consumes,
> String produces,
> Map<String, Object> parameters) throws Exception;
> {code}
> The factory method are a mix of specific parameters like host, basePath, etc. and something more open like parameters. It would be nice to explore the possibility to bring some http-commons standardization here so we can put more stuffs in the generic "parameters" options which would reduce the difference to setup and validate rest components.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)