You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Marat Gubaidullin (Jira)" <ji...@apache.org> on 2021/12/08 15:41:00 UTC

[jira] [Created] (CAMEL-17303) camel-jbang: FailedToCreateRouteException

Marat Gubaidullin created CAMEL-17303:
-----------------------------------------

             Summary: camel-jbang: FailedToCreateRouteException
                 Key: CAMEL-17303
                 URL: https://issues.apache.org/jira/browse/CAMEL-17303
             Project: Camel
          Issue Type: Bug
          Components: camel-jbang
    Affects Versions: 3.14.0
            Reporter: Marat Gubaidullin


Could not start routes with components
1. Netty example 
{code:java}
- from:
    uri: 'netty-http:http://localhost:8080/demo'
    steps:
      - log:
          message: '${body}'
{code}
Throws
{noformat}
org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[From[netty-http:http://localhost:8080/demo] ->... because of No endpoint could be found for: netty-http://http://localhost:8080/demo, please check your classpath contains the needed Camel component jar.
{noformat}

2. Kafka example
{code:java}
- from:
    uri: 'kafka:demo'
    steps:
      - log:
          message: '${body}'
{code}
Throws
{noformat}
org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[From[kafka:demo] -> [Log[${body}]]] because of No endpoint could be found for: kafka://demo, please check your classpath contains the needed Camel component jar.
{noformat}
 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)