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 2022/09/02 09:30:00 UTC
[jira] [Resolved] (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 resolved CAMEL-11128.
---------------------------------
Resolution: Won't Fix
> 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
(v8.20.10#820010)