This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 9cea2f0 Unregister MongoDb's ChangeStreamDocument from reflection
once it is provided by Quarkus fix #2649
9cea2f0 is described below
commit 9cea2f0bc24089e58874b457aa00c7eaa39b07df
Author: Peter Palaga <[email protected]>
AuthorDate: Wed Jun 9 23:10:59 2021 +0200
Unregister MongoDb's ChangeStreamDocument from reflection once it is
provided by Quarkus fix #2649
---
.../quarkus/component/mongodb/deployment/MongoDbProcessor.java | 6 ------
1 file changed, 6 deletions(-)
diff --git
a/extensions/mongodb/deployment/src/main/java/org/apache/camel/quarkus/component/mongodb/deployment/MongoDbProcessor.java
b/extensions/mongodb/deployment/src/main/java/org/apache/camel/quarkus/component/mongodb/deployment/MongoDbProcessor.java
index 58b131c..87010f6 100644
---
a/extensions/mongodb/deployment/src/main/java/org/apache/camel/quarkus/component/mongodb/deployment/MongoDbProcessor.java
+++
b/extensions/mongodb/deployment/src/main/java/org/apache/camel/quarkus/component/mongodb/deployment/MongoDbProcessor.java
@@ -17,10 +17,8 @@
*/
package org.apache.camel.quarkus.component.mongodb.deployment;
-import com.mongodb.client.model.changestream.ChangeStreamDocument;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.FeatureBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
class MongoDbProcessor {
@@ -31,8 +29,4 @@ class MongoDbProcessor {
return new FeatureBuildItem(FEATURE);
}
- @BuildStep
- ReflectiveClassBuildItem reflectiveClass() {
- return new ReflectiveClassBuildItem(true, false,
ChangeStreamDocument.class);
- }
}