Discussion:
camel toD and https4 in 2.22.1
Greg Ludington
2018-11-06 20:29:11 UTC
Permalink
We have some xml-based flows that use toD and the http4s component, such as
the following:

<camel:toD uri="https4://
maps.googleapis.com/maps/api/geocode/json?$simple{property.query}&amp;key={{apiKey}}&amp;sensor=true
"/>

Prior to the 2.22 series, this worked. I saw a stack overflow thread that
said an issue was introduced in 2.22.0, but addressed in 2.22.1; however,
with 2.22.1, we still see:

org.apache.camel.ResolveEndpointFailedException: Failed to resolve
endpoint: https4://maps.googleapis.com:-1 due to: Expected scheme-specific
part at index 7: https4:

is this the same issue as earlier, or is there a different syntax to follow?
Claus Ibsen
2018-11-07 06:57:53 UTC
Permalink
Hi

Can you try with 2.22.2 when its released soon. And if its still a bug
then log a JIRA ticket
Post by Greg Ludington
We have some xml-based flows that use toD and the http4s component, such as
<camel:toD uri="https4://
maps.googleapis.com/maps/api/geocode/json?$simple{property.query}&amp;key={{apiKey}}&amp;sensor=true
"/>
Prior to the 2.22 series, this worked. I saw a stack overflow thread that
said an issue was introduced in 2.22.0, but addressed in 2.22.1; however,
org.apache.camel.ResolveEndpointFailedException: Failed to resolve
endpoint: https4://maps.googleapis.com:-1 due to: Expected scheme-specific
is this the same issue as earlier, or is there a different syntax to follow?
--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Greg Ludington
2018-11-13 23:49:40 UTC
Permalink
To report back -- my use case works in 2.22.2

Thank you
Post by Claus Ibsen
Hi
Can you try with 2.22.2 when its released soon. And if its still a bug
then log a JIRA ticket
Post by Greg Ludington
We have some xml-based flows that use toD and the http4s component, such
as
Post by Greg Ludington
<camel:toD uri="https4://
maps.googleapis.com/maps/api/geocode/json?$simple{property.query}&amp;key={{apiKey}}&amp;sensor=true
<http://maps.googleapis.com/maps/api/geocode/json?$simple%7Bproperty.query%7D&amp;key=%7B%7BapiKey%7D%7D&amp;sensor=true>
Post by Greg Ludington
"/>
Prior to the 2.22 series, this worked. I saw a stack overflow thread
that
Post by Greg Ludington
said an issue was introduced in 2.22.0, but addressed in 2.22.1; however,
org.apache.camel.ResolveEndpointFailedException: Failed to resolve
endpoint: https4://maps.googleapis.com:-1 due to: Expected
scheme-specific
Post by Greg Ludington
is this the same issue as earlier, or is there a different syntax to
follow?
--
Claus Ibsen
-----------------
Camel in Action 2: https://www.manning.com/ibsen2
Continue reading on narkive:
Loading...