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

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

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

import java.io.File;

import junit.framework.Test;

import org.jboss.soa.esb.samples.quickstart.transformxml2xmlstream.test.SendJMSMessage;

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

  public void testTransform() throws Exception {
    clearMessages();
    String order = "SampleOrder.xml";
    String orderLocation = Helpers.getQuickstartLocation("transform_XML2XML_stream" + File.separator + order);
    SendJMSMessage sm = new SendJMSMessage();
    sm.setupConnection();
    sm.sendAMessage(orderLocation);
    sm.stop();
  }

  public static Test suite() throws Exception {
    return getDeploySetup(TransformXMLStreamTest.class, "QuickstartMessageStoreServer.sar, transformation-stream-quickstart.esb");
 
}
TOP

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

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.