Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/1638
@clebertsuconic Re `ArtemisExecutor::flush` I've provided the most
defensive/conservative way to manage it, but I'm sure that it can be solved
(like `execute`) in a more permissive and simpler way if called inside the
`event loop`.---
