Skip to content

Commit

Permalink
Unregister MongoDb's ChangeStreamDocument from reflection once it is …
Browse files Browse the repository at this point in the history
…provided by Quarkus fix #2649
  • Loading branch information
ppalaga committed Jun 10, 2021
1 parent bb915e8 commit 9cea2f0
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -31,8 +29,4 @@ FeatureBuildItem feature() {
return new FeatureBuildItem(FEATURE);
}

@BuildStep
ReflectiveClassBuildItem reflectiveClass() {
return new ReflectiveClassBuildItem(true, false, ChangeStreamDocument.class);
}
}

0 comments on commit 9cea2f0

Please sign in to comment.