You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Grzegorz Grzybek (Jira)" <ji...@apache.org> on 2023/06/26 12:40:00 UTC

[jira] [Commented] (CAMEL-19041) camel-jbang - Run with runtime

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

Grzegorz Grzybek commented on CAMEL-19041:
------------------------------------------

[~davsclaus], I'm unassigning this from myself - I have no idea how to switch the runtime with single {{jbang run camel}} option... Picking up target runtime should be more conscious decision than just an option:
* for Quarkus, much is happening at build time, so we need Maven (or Gradle?) for this
* for Spring Boot we'd need to create the Camel context itself using Spring bean (instead of instantiating DefaultCamelContext using camel-main (and camel-kamelet-main)

> camel-jbang - Run with runtime
> ------------------------------
>
>                 Key: CAMEL-19041
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19041
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Grzegorz Grzybek
>            Priority: Major
>             Fix For: 4.1.0
>
>
> So you can do camel run foo.java --runtime=spring-boot



--
This message was sent by Atlassian Jira
(v8.20.10#820010)