public void testXATransactionUsingSpringDaoWithRollback() throws Exception
{
MuleClient client = new MuleClient(muleContext);
Book book = new Book(1, "testBook", "testAuthor");
client.sendNoReceive("jms://my.queue", book, null);
MuleMessage result = client.request("vm://output", RECEIVE_TIMEOUT);
assertNotNull(result);
assertNotNull(result.getPayload());
assertTrue(((Boolean) result.getPayload()).booleanValue());