Package org.jboss.soa.esb.quickstart.test

Source Code of org.jboss.soa.esb.quickstart.test.JMSTransactedTest

package org.jboss.soa.esb.quickstart.test;

import junit.framework.Test;
import org.jboss.soa.esb.samples.quickstart.jmstransacted.test.SendJMSMessage;

public class JMSTransactedTest extends AbstractQuickstartTestCase {
  public JMSTransactedTest(String name) {
    super(name);
  }

  public void testTransacted() throws Exception {
    String content = "Hello Transacted JMS World]";
   
    clearMessages();
        SendJMSMessage sm = new SendJMSMessage();
        sm.setupConnection();
        sm.sendAMessage(content);
        sm.stop();
  }
 
  public static Test suite() throws Exception {
    return getDeploySetup(JMSTransactedTest.class, "QuickstartMessageStoreServer.sar,  Quickstart_JMS_Transacted.esb");
  }
}
TOP

Related Classes of org.jboss.soa.esb.quickstart.test.JMSTransactedTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.