Getting "No component found with scheme: elasticsearch-rest" when using camel-elasticsearch-rest endpoint in a Camel route on Red Hat JBoss EAP

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.