davsclaus commented on code in PR #15318:
URL: https://github.com/apache/camel/pull/15318#discussion_r1731369098
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java:
##########
@@ -570,6 +584,8 @@ private int run() throws Exception {
// do not run for very long in silent run
main.addInitialProperty("camel.main.autoStartup", "false");
main.addInitialProperty("camel.main.durationMaxSeconds", "1");
+ TransactedPolicy policy = new DummyTransactedPolicy();
Review Comment:
Its a bit hacky to do this in jbang run command directly.
I wonder if you can do this in the kamelet-main downloader, where you detect
transacted DSL and then bind those dummy policies
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]