[ 
https://issues.apache.org/jira/browse/CAMEL-11627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-11627.
--------------------------------------
    Resolution: Fixed

> Camel-Undertow doesn't work in OSGi
> -----------------------------------
>
>                 Key: CAMEL-11627
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11627
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-undertow
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>             Fix For: 2.20.0
>
>
> Actually camel-undertow doesn't work in OSGi.
> {code}
> java.lang.IllegalArgumentException: UT001031: Unknown scheme in URI 
> http://localhost:8010/test
>       at 
> io.undertow.client.UndertowClient.getClientProvider(UndertowClient.java:163) 
> [26:io.undertow.core:1.4.18.Final]
> {code}
> Because it is using
> {code}
> UndertowClient.getInstance(getCamelContext().getApplicationContextClassLoader())
> {code}
> and it cannot find its providers. We should use 
> {code}
> UndertowClient.getInstance()
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to