Skip to content

Commit 1a13c26

Browse files
authored
CAMEL-23355: Do not stub transformers for export (#22719)
1 parent 772a511 commit 1a13c26

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands

dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,8 @@ private int run() throws Exception {
667667
}
668668
main.addInitialProperty(EXPORT, "true");
669669
// enable stub in silent mode so we do not use real components
670-
main.setStubPattern("*");
670+
//we need i.e. transformers to not be stubbed since https://github.com/apache/camel/pull/21931
671+
main.setStubPattern("component:*");
671672
// do not run for very long in silent run
672673
main.addInitialProperty("camel.main.autoStartup", "false");
673674
main.addInitialProperty("camel.main.durationMaxSeconds", "-1");

0 commit comments

Comments
 (0)