When I want to use camel-undertow I get following exception:
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]
at io.undertow.client.UndertowClient.connect(UndertowClient.java:132) [26:io.undertow.core:1.4.18.Final]
at org.apache.camel.component.undertow.UndertowProducer.process(UndertowProducer.java:152) [63:org.apache.camel.camel-undertow:2.20.0.fuse-000052]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:62) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:197) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:79) [51:org.apache.camel.camel-core:2.20.0.fuse-000052]
at java.util.TimerThread.mainLoop(Timer.java:555) [?:?]
at java.util.TimerThread.run(Timer.java:505) [?:?]
My route:
<route> <from uri="direct:start"/> <to uri="undertow:http://localhost:8010/test"/> </route>
I think that the problem is in loading ClientProviders. See UndertowClient#getClientProvider - clientProviders.size() is 0 when the method is invoked.
- relates to
-
ENTESB-5873 Missing dependencies in camel-undertow feature
- Closed
- links to