JMS2.0 - TCK - asynchronous sending
"4.6.2.4. Close, commit or rollback", p58.
If the close method is called on the MessageProducer, Session, Connection or JMSContext object then the JMS provider must block until any incomplete send operations have been completed and all CompletionListener callbacks have returned before closing the object and returning.
If the session is transacted (uses a local transaction) then when the commit or rollback method is called the JMS provider must block until any incomplete send operations have been completed and all CompletionListener callbacks have returned before performing the commit or rollback.
Incomplete sends should be allowed to complete normally unless an error occurs.
[JORAM-154] created at 2013-08-09 09:08:45 by freyssinet, version JORAM_5_9_0