Github user mtaylor commented on the issue: https://github.com/apache/activemq-artemis/pull/1395 @clebertsuconic I have two comments on this. Firstly, what is the goal of this patch. Is the aim to reduce the GC overhead by reusing Runnables? If so surely this could be done in a simpler fashion just be creating a Re-usable Runnable? If the idea here is to "create a framework", I have to agree with Michael that we should be looking to reuse something that already exists. There's quite a lot of movement towards using reactive patterns which is I believe what you are striving for here. There are a few popular frameworks/libs for Java. Have you looked at RxJava?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---