Luca Burgazzoli created CAMEL-11128:
---------------------------------------
Summary: camel-rest
Key: CAMEL-11128
URL: https://issues.apache.org/jira/browse/CAMEL-11128
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Luca Burgazzoli
Priority: Minor
Fix For: 2.20.0
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.3.15#6346)