Skip to content

Commit

Permalink
[#11155] Fix MongoDB FindPublisherImpl method interceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehong-kim committed Jun 17, 2024
1 parent 010cfd6 commit db62e19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public byte[] doInTransform(Instrumentor instrumentor, ClassLoader loader, Strin

final InstrumentMethod subscribeMethod = target.getDeclaredMethod("subscribe", "org.reactivestreams.Subscriber");
if (subscribeMethod != null) {
subscribeMethod.addInterceptor(FluxAndMonoSubscribeInterceptor.class);
subscribeMethod.addInterceptor(FluxAndMonoSubscribeInterceptor.class, va(MongoConstants.MONGO_REACTIVE));
}
return target.toBytecode();
}
Expand Down

0 comments on commit db62e19

Please sign in to comment.