This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 47b67deebe9 CAMEL-19470 camel-mongodb : add option fullDocument for changeStreams... (#10436) 47b67deebe9 is described below commit 47b67deebe91091e570a9026dde9a0f47c1ed6e4 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Jun 21 13:33:55 2023 +0200 CAMEL-19470 camel-mongodb : add option fullDocument for changeStreams... (#10436) --- .../org/apache/camel/component/mongodb/MongoDbEndpointConfigurer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/MongoDbEndpointConfigurer.java b/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/MongoDbEndpointConfigurer.java index 04752c47e85..de8b1952e21 100644 --- a/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/MongoDbEndpointConfigurer.java +++ b/components/camel-mongodb/src/generated/java/org/apache/camel/component/mongodb/MongoDbEndpointConfigurer.java @@ -41,7 +41,7 @@ public class MongoDbEndpointConfigurer extends PropertyConfigurerSupport impleme case "exchangepattern": case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true; case "fulldocument": - case "fullDocument": target.setFullDocument(property(camelContext, java.lang.String.class, value)); return true; + case "fullDocument": target.setFullDocument(property(camelContext, com.mongodb.client.model.changestream.FullDocument.class, value)); return true; case "hosts": target.setHosts(property(camelContext, java.lang.String.class, value)); return true; case "lazystartproducer": case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true; @@ -99,7 +99,7 @@ public class MongoDbEndpointConfigurer extends PropertyConfigurerSupport impleme case "exchangepattern": case "exchangePattern": return org.apache.camel.ExchangePattern.class; case "fulldocument": - case "fullDocument": return java.lang.String.class; + case "fullDocument": return com.mongodb.client.model.changestream.FullDocument.class; case "hosts": return java.lang.String.class; case "lazystartproducer": case "lazyStartProducer": return boolean.class;