camel toD and https4 in 2.22.1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

camel toD and https4 in 2.22.1

gludington
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?
Reply | Threaded
Open this post in threaded view
|

Re: camel toD and https4 in 2.22.1

Claus Ibsen-2
Hi

Can you try with 2.22.2 when its released soon. And if its still a bug
then log a JIRA ticket
On Tue, Nov 6, 2018 at 9:29 PM Greg Ludington <[hidden email]> wrote:

>
> 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
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Reply | Threaded
Open this post in threaded view
|

Re: camel toD and https4 in 2.22.1

gludington
To report back -- my use case works in 2.22.2

Thank you

On Wed, Nov 7, 2018 at 1:58 AM Claus Ibsen <[hidden email]> wrote:

> Hi
>
> Can you try with 2.22.2 when its released soon. And if its still a bug
> then log a JIRA ticket
> On Tue, Nov 6, 2018 at 9:29 PM Greg Ludington <[hidden email]>
> wrote:
> >
> > 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
> <http://maps.googleapis.com/maps/api/geocode/json?$simple%7Bproperty.query%7D&amp;key=%7B%7BapiKey%7D%7D&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
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>