Otavio Rodolfo Piske created CAMEL-17160:
--------------------------------------------

             Summary: camel-jbang-main: investigate unresolvable platform-http 
component
                 Key: CAMEL-17160
                 URL: https://issues.apache.org/jira/browse/CAMEL-17160
             Project: Camel
          Issue Type: Task
    Affects Versions: 3.13.0
            Reporter: Otavio Rodolfo Piske
         Attachments: test.yaml

It's seems it's not specifically on CamelJBang, but it's very easy to reproduce 
with it with the attached yaml: [^test.yaml]

^CamelJBang run --debug-level=trace test.yaml^

^...^

^08:13:49.798 [main] DEBUG org.apache.camel.impl.engine.AbstractCamelContext - 
Using ComponentResolver: 
org.apache.camel.impl.engine.DefaultComponentResolver@6b5966e1 to resolve 
component with name: platform-http^
^08:13:49.798 [main] DEBUG org.apache.camel.support.ResolverHelper - Lookup 
Component with name platform-http in registry. Found: null^
^08:13:49.798 [main] DEBUG org.apache.camel.support.ResolverHelper - Lookup 
Component with name platform-http-component in registry. Found: null^
^08:13:49.798 [main] TRACE org.apache.camel.impl.engine.AbstractCamelContext - 
No component to create endpoint from uri: 
platform-http://demo?consumes=plain/text fallback lookup in registry -> null^

^08:26:14.019 [main] TRACE org.apache.camel.support.service.BaseService - Error 
while starting service: org.apache.camel.main.KameletMain@31aa3ca5^
^org.apache.camel.FailedToCreateRouteException: Failed to create route route2: 
Route(route2)[From[platform-http:demo?consumes=plain/text] -... because of No 
endpoint could be found for: platform-http://demo?consumes=plain/text, please 
check your classpath contains the needed Camel component jar.^
 ^at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:80) 
~[camel-core-reifier-3.13.0-SNAPSHOT.jar:3.13.0-SNAPSHOT]^
 ^at 
org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49)
 ~[camel-core-engine-3.13.0-SNAPSHOT.jar:3.13.0-SNAPSHOT]^
 ^at 
org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:851)
 ~[camel-core-engine-3.13.0-SNAPSHOT.jar:3.13.0-SNAPSHOT]^



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to