Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.16.0
-
Component/s: camel-http
-
Labels:None
-
Estimated Complexity:Unknown
Description
See SO
http://stackoverflow.com/questions/29861465/custom-httpbinding-in-camel-http-component
The class org.apache.camel.component.http.DefaultHttpBinding should have a default no arg ctr, and then dependency inject the endpoint instead. So it should have a getter/setter for the endpoint.
Then the component can inject the endpoint automatic.
Then end users can easy extend the default and provide it to Camel as the default no-arg ctr is used.