Github user jbertram commented on the issue:
https://github.com/apache/activemq-artemis/pull/1695
I'm not compelled by the "expectations" argument because different users
have different expectations. Users from one JMS implementation might have an
expectation that non-persistent messages are sent synchronously, but any user
coming from HornetQ, Artemis, or (more importantly, I think) ActiveMQ 5.x
among others would have the opposite expectation. This behavior is not defined
by the spec, and therefore should be well documented so users will be informed
and can change their expectations (if necessary).
I think the best way forward would be to improve the
SendAcknowledgementHandler feature in Artemis which serves as the basis for the
JMS CompletionHandler implementation.
---