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

[jira] [Commented] (CAMEL-17160) camel-jbang-main: investigate unresolvable platform-http component

    [ https://issues.apache.org/jira/browse/CAMEL-17160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17437802#comment-17437802 ] 

Claus Ibsen commented on CAMEL-17160:
-------------------------------------

platform-http is a facade, you need to have a runtime that registers itself as being platform-http provider, such as the vertx-platform-http when running on quarkus.



> 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
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>         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)