You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/13 22:57:57 UTC

[GitHub] [camel-k] kolchanov opened a new issue #2746: Cannot deploy XML integration with undertow

kolchanov opened a new issue #2746:
URL: https://github.com/apache/camel-k/issues/2746


   Hello,
   I'm trying to create simple undertow service with xml
   
   <routes xmlns="http://camel.apache.org/schema/spring">
       <route>
           <from uri="undertow:http://localhost:8080/"/>
           <setBody>
               <constant>Hello from K!</constant>
            </setBody>
           <to uri="log:info"/>
       </route>
   </routes>
   
   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
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] davsclaus closed issue #2746: Cannot deploy XML integration with undertow

Posted by GitBox <gi...@apache.org>.
davsclaus closed issue #2746:
URL: https://github.com/apache/camel-k/issues/2746


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] davsclaus commented on issue #2746: Cannot deploy XML integration with undertow

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #2746:
URL: https://github.com/apache/camel-k/issues/2746#issuecomment-968225263


   undertow is not supported, use platform-http instead


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] kolchanov commented on issue #2746: Cannot deploy XML integration with undertow

Posted by GitBox <gi...@apache.org>.
kolchanov commented on issue #2746:
URL: https://github.com/apache/camel-k/issues/2746#issuecomment-968248948


   I suppose it should mentioned in documentation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] davsclaus commented on issue #2746: Cannot deploy XML integration with undertow

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #2746:
URL: https://github.com/apache/camel-k/issues/2746#issuecomment-968250490


   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
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org