Skip to content

Commit

Permalink
Fix #107 to remove reflection registration for ActiveMQConnectionFact…
Browse files Browse the repository at this point in the history
…ory (#109)
  • Loading branch information
zhfeng authored Apr 25, 2023
1 parent b389403 commit 406e337
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ FeatureBuildItem feature() {
void build(BuildProducer<AdditionalBeanBuildItem> additionalBeans,
BuildProducer<ReflectiveClassBuildItem> reflectiveClasses) {
additionalBeans.produce(new AdditionalBeanBuildItem(PooledJmsDecorator.class));
reflectiveClasses.produce(
ReflectiveClassBuildItem.builder("org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory")
.methods(true).fields(false).build());

reflectiveClasses.produce(
ReflectiveClassBuildItem.builder("org.apache.commons.pool2.impl.DefaultEvictionPolicy")
.methods(true).fields(false).build());
Expand Down

0 comments on commit 406e337

Please sign in to comment.