Github user cshannon commented on the issue:
https://github.com/apache/activemq-artemis/pull/1242
@clebertsuconic - I added a second commit to address the performance
concerns, the lambda expressions should now be avoided if there are no
registered plugins. The JVM should skip the lambda creation during the method
call if the hasBrokerPlugins() check is false.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---