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 2022/02/18 07:50:25 UTC

[GitHub] [camel-k] catshout opened a new issue #3023: Camel-K native run of a java route fails

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


   I've a fresh installed Camel-K 1.8.0 Operator. My sample route `hello.java` like
   
   ````
   from('timer:tick?period=3000')
     .setBody().constant('Hello world from Camel K')
     .to('log:info')
   ```
   
   and tried to execute the following command
   
   `kamel run -t quarkus.package-type=native hello.java`
   
   With this I'm getting the error (excerpt from resource yaml
   
   ```
     status:
       conditions:
       - firstTruthyTime: "2022-02-18T07:43:59Z"
         lastTransitionTime: "2022-02-18T07:43:59Z"
         lastUpdateTime: "2022-02-18T07:43:59Z"
         message: integration/camel-k
         reason: IntegrationPlatformAvailable
         status: "True"
         type: IntegrationPlatformAvailable
       - lastTransitionTime: "2022-02-18T07:44:00Z"
         lastUpdateTime: "2022-02-18T07:44:00Z"
         message: native compilation for language "java" is not supported
         reason: UnsupportedLanguage
         status: "False"
         type: IntegrationKitAvailable
       - lastTransitionTime: "2022-02-18T07:44:00Z"
         lastUpdateTime: "2022-02-18T07:44:00Z"
         message: no host or service defined
         reason: IngressNotAvailable
         status: "False"
   ```
   
   What am I missing here?


-- 
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] catshout edited a comment on issue #3023: Camel-K native run of a java route fails

Posted by GitBox <gi...@apache.org>.
catshout edited a comment on issue #3023:
URL: https://github.com/apache/camel-k/issues/3023#issuecomment-1046630378


   Thanks for your replies.
   
   1. Will the Java native compilation supported in one of the next releases (may be w/o joor support)?
   2. Can locally native compiled Java routes being used for Camel-K deployment?
   3. If using YAML native compiled, could the compiled resource be moved from one environment (e.g. DEV) to another (e.g. TEST) without re-compile again?
   
   Background of this the significant reduction of memory footprint and startup time of native compiled resources. That's in my mind the real advantage for mass micro services.


-- 
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] squakez commented on issue #3023: Camel-K native run of a java route fails

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


   I think we don't support Java because the joor dependency. @astefanutti can you confirm please?


-- 
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] catshout edited a comment on issue #3023: Camel-K native run of a java route fails

Posted by GitBox <gi...@apache.org>.
catshout edited a comment on issue #3023:
URL: https://github.com/apache/camel-k/issues/3023#issuecomment-1046630378


   Thanks for your replies.
   
   1. Will the Java native compilation supported in one of the next releases (may be w/o joor support?
   2. Can locally native compiled Java routes being used for Camel-K deployment?
   3. If using YAML native compiled, could the compiled resource be moved from one environment (e.g. DEV) to another (e.g. TEST) without re-compile again?
   
   Background of this the significant reduction of memory footprint and startup time of native compiled ressources. That's in my mind the real advantage for mass microservices.


-- 
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] catshout commented on issue #3023: Camel-K native run of a java route fails

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


   Thanks for your replies.
   
   1. Will the Java native compilation supported in one of the next releases?
   2. Can locally native compiled Java routes being used for Camel-K deployment?
   
   Background of this the significant reduction of memory footprint and startup time of native compiled ressources. That's in my mind the real advantage for mass microservices.


-- 
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] catshout commented on issue #3023: Camel-K native run of a java route fails

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


   Hi @squakez and @astefanutti, the topic of a native compiled resource came up today again. Are there any plans to enable this for Java based Camel-K Integrations? Thanks for a hint ..


-- 
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] catshout commented on issue #3023: Camel-K native run of a java route fails

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


   Hi @squakez and @astefanutti . Could this also be turned into a feature request? Thanks in advance for your thoughts.


-- 
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] catshout edited a comment on issue #3023: Camel-K native run of a java route fails

Posted by GitBox <gi...@apache.org>.
catshout edited a comment on issue #3023:
URL: https://github.com/apache/camel-k/issues/3023#issuecomment-1063153122


   Hi @squakez and @astefanutti.  Could this also be turned into a feature request? Thanks in advance for your thoughts.


-- 
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] catshout edited a comment on issue #3023: Camel-K native run of a java route fails

Posted by GitBox <gi...@apache.org>.
catshout edited a comment on issue #3023:
URL: https://github.com/apache/camel-k/issues/3023#issuecomment-1046630378


   Thanks for your replies.
   
   1. Will the Java native compilation supported in one of the next releases?
   2. Can locally native compiled Java routes being used for Camel-K deployment?
   3. If using YAML native compiled, could the compiled resource be moved from one environment (e.g. DEV) to another (e.g. TEST) without re-compile again?
   
   Background of this the significant reduction of memory footprint and startup time of native compiled ressources. That's in my mind the real advantage for mass microservices.


-- 
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] astefanutti commented on issue #3023: Camel-K native run of a java route fails

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


   Right, native compilation is currently supported for YAML and XML integrations, as well as Kamelets.


-- 
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