[
https://issues.apache.org/jira/browse/CAMEL-21434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903946#comment-17903946
]
Dinu Pavithran commented on CAMEL-21434:
----------------------------------------
This introduced a bug. The following line also needs to be adapted:
[https://github.com/apache/camel/blob/88dec40df31d8e5b3f423b47a3724830ff2b4992/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java#L1563]
```
main = new KameletMain(sj.toString());
--- change to ---
main = new KameletMain(CAMEL_INSTANCE_TYPE, sj.toString());
```
[~orpiske]
> camel-kamelet-main: decouple from Camel JBang
> ---------------------------------------------
>
> Key: CAMEL-21434
> URL: https://issues.apache.org/jira/browse/CAMEL-21434
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang, camel-kamelet-main
> Affects Versions: 4.9.0
> Reporter: Otavio Rodolfo Piske
> Assignee: Otavio Rodolfo Piske
> Priority: Major
> Fix For: 4.9.0
>
>
> There are a lot of references for Camel JBang in the Camel Kamelet Main
> module. This makes it harder to reuse this module for other tools and ideas
> that could benefit from the classes on that module.
> We should decouple Camel JBang references from it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)