No component found with scheme: http
anonyin Jan 13, 2014 9:50 PMI am deploying a camel route on fuse esb. The came route makes a call to a http servlet(see below).
from("direct:start").to("http://xxxxxxxxxx/abc/def")
.log(LoggingLevel.INFO, "Received Response from Servlet: ${body}.");
During the bundle deploy I am getting below error, Initially the camel-http bundle was not deployed so I deployed the bundle by running the command(see the bundle list below) : features:install camel-http
Please let me know what am I missing.
2014-01-13 18:41:44,146 | ERROR | Executor: 3 | ContextLoader | ? ? | 114 - .......
org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route route5 at: >>> To[http://xxxxxxxxxx/abc/def]
<<< in route: Route[[From[direct:start]] -> [To[http://xxxxxxxxxx/abc/... because of Failed to resolve endpoint: http://xxxxxxxxxx/abc/def due to: No component found with scheme: http
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1326)[]
at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)]
at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:283)[
........
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route5 at: >>> To[http://xxxxxxxxxx/abc/def] <<< in route: Route[[From[dir
ect:start]] -> [To[http://xxxxxxxxxx/abc/... because of Failed to resolve endpoint: http://xxxxxxxxxx/abc/def due to: No component found with scheme: h
ttp
..............
Bundle List:
[ 100] [Active ] [ ] [ 30] OPS4J Pax Url - war (1.3.6)
[ 101] [Active ] [Created ] [ 30] Apache Karaf :: Management :: MBeans :: Web (2.3.0.redhat-60024)
[ 102] [Active ] [ ] [ 30] Spring Context Support (3.1.3.RELEASE)
[ 103] [Active ] [ ] [ 30] Spring Beans (3.1.3.RELEASE)
[ 104] [Active ] [ ] [ 30] Spring Context (3.1.3.RELEASE)
[ 105] [Active ] [ ] [ 30] Spring AOP (3.1.3.RELEASE)
[ 106] [Active ] [ ] [ 30] Spring ASM (3.1.3.RELEASE)
[ 107] [Active ] [ ] [ 30] Spring Core (3.1.3.RELEASE)
[ 108] [Active ] [ ] [ 30] Spring Expression Language (3.1.3.RELEASE)
[ 109] [Active ] [ ] [ 30] Apache ServiceMix :: Bundles :: aopalliance (1.0.0.6)
[ 110] [Active ] [Created ] [ 50] camel-karaf-commands (2.10.0.redhat-60024)
[ 111] [Active ] [ ] [ 50] camel-core (2.10.0.redhat-60024)
[ 112] [Active ] [ ] [ 50] camel-http (2.10.0.redhat-60024)
[ 113] [Active ] [ ] [ 50] Apache ServiceMix :: Bundles :: commons-httpclient (3.1.0.7)
Thanks