Getting "No component found with scheme: elasticsearch-rest" when using camel-elasticsearch-rest endpoint in a Camel route on Red Hat JBoss EAP
Issue
When trying to use a camel-elasticsearch-rest endpoint in a Camel route on Red Hat JBoss EAP, the following error was thrown:
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route myRoute at: >>> To[elasticsearch-rest://elasticsearch?operation=Index&indexName=twitter&indexType=tweet] <<< in route: Route(myRoute)[[From[timer:MyTimer]] -> [Bean[... because of Failed to resolve endpoint: elasticsearch-rest://elasticsearch?indexName=twitter&indexType=tweet&operation=Index due to: No component found with scheme: elasticsearch-rest
Environment
- Red Hat Fuse on JBoss Enterprise Application Platform (EAP) version 7.0
- Red Hat JBoss EAP version 7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.