Hi Jeff, welcome back to the SwitchYard
Nope, message is sent to the queueB even if the transaction for the TaskBService is rolled back. TaskBServiceBean has a reference to the StoreBService, which send a message to the queueB, has "suspendsTransaction" policy, so the transaction sending JMS message doesn't synchronize with TaskBServiceBean.
I know it's a bit confusing and actually some people have asked exactly same question, but I wanted to demonstrate the managedTransaction.Local policy there
ahh, yes. thanks Tomo! completely overlooked the SUSPENDS_TRANSACTION on StoreBService. Makes complete sense why message is enqueued to queueB.
and, when the trnx policy on StoreBService is switched to PROPOGATE_TRANSACTION, the message is not enqueued on queueB . perfect.
like always ... thanks Tomo!