javaee7-samples icon indicating copy to clipboard operation
javaee7-samples copied to clipboard

Arquillian test for JMS XA

Open blabno opened this issue 12 years ago • 2 comments

Add integration test showing XA Datasource+JMS.

Scenario: When user registers account then a record in DB must be created and email must be sent. Email must be send through JMS queue so in case the mail server is down we get redelivery and DLQ ultimately.

Test should show that if persisting to db fails (transaction gets rolled back) the message is not delivered via JMS.

blabno avatar Nov 29 '13 00:11 blabno

Would you like to add this test ?

arun-gupta avatar Nov 29 '13 00:11 arun-gupta

Sure, once I figure it out :)

blabno avatar Nov 29 '13 00:11 blabno