Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot deploy XML integration with undertow #2746

Closed
kolchanov opened this issue Nov 13, 2021 · 3 comments
Closed

Cannot deploy XML integration with undertow #2746

kolchanov opened this issue Nov 13, 2021 · 3 comments

Comments

@kolchanov
Copy link

Hello,
I'm trying to create simple undertow service with xml

Hello from K!
  1. kamel run rest.xml --dev
    [1] 2021-11-13 22:54:24,185 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route(route1)[From[undertow:http://localhost:8080/] -> [SetB... because of No endpoint could be found for: undertow://http://localhost:8080/, please check your classpath contains the needed Camel component jar

  2. kamel run -d camel-undertow rest.xml --dev
    Integration "rest" created
    Condition "IntegrationPlatformAvailable" is "True" for Integration rest: default/camel-k
    Progress: integration "rest" in phase Initialization
    Progress: integration "rest" in phase Building Kit
    Integration "rest" in phase "Initialization"
    Integration "rest" in phase "Building Kit"
    Condition "IntegrationKitAvailable" is "False" for Integration rest: creating a new integration kit
    Integration Kit "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Build Submitted"
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Scheduling"
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Pending"
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Running"
    Integration Kit "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Build Running"
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Failed"
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Initialization" (recovery 1 of 5)
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Scheduling" (recovery 1 of 5)
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Pending" (recovery 1 of 5)
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Running" (recovery 1 of 5)
    Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Failed" (recovery 1 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Initialization" (recovery 2 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Scheduling" (recovery 2 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Pending" (recovery 2 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Running" (recovery 2 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Failed" (recovery 2 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Initialization" (recovery 3 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Scheduling" (recovery 3 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Pending" (recovery 3 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Running" (recovery 3 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Failed" (recovery 3 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Initialization" (recovery 4 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Scheduling" (recovery 4 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Pending" (recovery 4 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Running" (recovery 4 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Failed" (recovery 4 of 5)
    (combined from similar events): Build "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Initialization" (recovery 5 of 5)
    Integration Kit "kit-c6844hra6aum5bj5r3ng", created by Integration "rest", changed phase to "Error"
    Integration "rest" in phase "Error"
    Progress: integration "rest" in phase Error
    Error: integration "rest" deployment failed

@davsclaus
Copy link
Contributor

undertow is not supported, use platform-http instead

@kolchanov
Copy link
Author

I suppose it should mentioned in documentation.

@davsclaus
Copy link
Contributor

You can use what camel-quarkus offers as extensions (camel k run on top of quarkus)
https://camel.apache.org/camel-quarkus/next/reference/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants