Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
When one uses the camel-http component to call a https url, one has to set the URL via the header:
from(...) ... .setHeader(Exchange.HTTP_URL, constant("https://fruityvice.com/api/fruit/all")) .to(http("ignored").httpMethod(HttpMethods.GET)) ....
or use the (already present) corresponding endpoint builder factory, setting the component to "https":
from(...) ... .to(HttpEndpointBuilderFactory.endpointBuilder("https", "fruityvice.com/api/fruit/all").httpMethod(HttpMethods.GET)) ...
It would be nice to have a separte https(...)-method to call "https"-resources:
from(...)
...
.to(https("fruityvice.com/api/fruit/all").httpMethod(HttpMethods.GET))
...
—
Story:
As a camel-user
When I need to call a https URL
Then I want an endpoint builder with dsl support
Attachments
Issue Links
- links to