This is an automated email from the ASF dual-hosted git repository. christophd pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5587fc57a47e8bfadf52661f64251339ca7b8a32 Author: Guillaume Nodet <[email protected]> AuthorDate: Thu Oct 15 06:35:48 2026 +0000 Regen --- .../dsl/CitrusComponentBuilderFactory.java | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/CitrusComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/CitrusComponentBuilderFactory.java index 17a81cd16232..084839da52e8 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/CitrusComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/CitrusComponentBuilderFactory.java @@ -76,6 +76,26 @@ public interface CitrusComponentBuilderFactory { } + /** + * To turn on logging when the mock receives an incoming message. This + * will log only one time at INFO level for the incoming message. For + * more detailed logging, then set the logger to DEBUG level for the + * org.apache.camel.component.mock.MockEndpoint class. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: producer + * + * @param log the value to set + * @return the dsl builder + */ + default CitrusComponentBuilder log(boolean log) { + doSetProperty("log", log); + return this; + } + + /** * Whether autowiring is enabled. This is used for automatic autowiring * options (the option must be marked as autowired) by looking up in the @@ -96,6 +116,23 @@ public interface CitrusComponentBuilderFactory { doSetProperty("autowiredEnabled", autowiredEnabled); return this; } + + /** + * To use a custom ExchangeFormatter to format the Exchange into a + * String suitable for logging. + * + * The option is a: + * <code>org.apache.camel.spi.ExchangeFormatter</code> type. + * + * Group: advanced + * + * @param exchangeFormatter the value to set + * @return the dsl builder + */ + default CitrusComponentBuilder exchangeFormatter(org.apache.camel.spi.ExchangeFormatter exchangeFormatter) { + doSetProperty("exchangeFormatter", exchangeFormatter); + return this; + } } class CitrusComponentBuilderImpl @@ -112,7 +149,9 @@ public interface CitrusComponentBuilderFactory { Object value) { switch (name) { case "lazyStartProducer": ((CitrusComponent) component).setLazyStartProducer((boolean) value); return true; + case "log": ((CitrusComponent) component).setLog((boolean) value); return true; case "autowiredEnabled": ((CitrusComponent) component).setAutowiredEnabled((boolean) value); return true; + case "exchangeFormatter": ((CitrusComponent) component).setExchangeFormatter((org.apache.camel.spi.ExchangeFormatter) value); return true; default: return false; } }
