[ https://issues.apache.org/jira/browse/CAMEL-11128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luca Burgazzoli updated CAMEL-11128: ------------------------------------ Fix Version/s: (was: 2.20.0) Future 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: 3.0.0, 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 (v6.4.14#64029)