Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Actually camel-undertow doesn't work in OSGi.
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]
Because it is using
UndertowClient.getInstance(getCamelContext().getApplicationContextClassLoader())
and it cannot find its providers. We should use
UndertowClient.getInstance()