1 /*
2 * $Id: JmsSingleTransactionBeginOrJoinAndAlwaysBeginTestCase.java 10524 2008-01-24 19:20:11Z akuzmin $
3 * --------------------------------------------------------------------------------------
4 * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5 *
6 * The software in this package is published under the terms of the CPAL v1.0
7 * license, a copy of which has been included with this distribution in the
8 * LICENSE.txt file.
9 */
10 package org.mule.test.integration.providers.jms.functional;
11
12 public class JmsSingleTransactionBeginOrJoinAndAlwaysBeginTestCase extends AbstractJmsFunctionalTestCase
13 {
14 protected String getConfigResources()
15 {
16 return "providers/activemq/jms-single-tx-BEGIN_OR_JOIN_AND_ALWAYS_BEGIN.xml";
17 }
18
19 public void testSingleTransactionBeginOrJoinAndAlwaysBegin() throws Exception
20 {
21 send(scenarioCommit);
22 receive(scenarioRollback);
23 receive(scenarioCommit);
24 receive(scenarioNotReceive);
25 }
26 }