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

Examples of org.jboss.soa.esb.samples.quickstart.transformxml2pojo2.test.SendEsbMessage


  public void testTransform() throws Exception {
    clearMessages();
    String order = "SampleOrder.xml";
    String orderLocation = Helpers.getQuickstartLocation("transform_XML2POJO2" + File.separator + order);
    SendJMSMessage sm = new SendJMSMessage();
    sm.setupConnection();
    String orderContent = sm.readAsciiFile(orderLocation);
    System.out.println(orderContent);
    sm.sendAMessage(orderContent);
    sm.closeConnection();
   
    clearMessages();
    String petsOrder = "SamplePetsOrder.xml";
    String petsOrderLocation = Helpers.getQuickstartLocation("transform_XML2POJO2" + File.separator + petsOrder);
    SendJMSMessage sjm = new SendJMSMessage();
    sjm.setupConnection();
    String petsOrderContent = sjm.readAsciiFile(petsOrderLocation);
    System.out.println(petsOrderContent);
    sjm.sendAMessage(petsOrderContent);
    sjm.closeConnection();
  }
View Full Code Here


    super(name);
  }

  public void testTransform() throws Exception {
    clearMessages();
    SendEsbMessage sm = new SendEsbMessage();
    sm.sendMessage("Jimbo");
  }
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.samples.quickstart.transformxml2pojo2.test.SendEsbMessage

Copyright © 2018 www.massapicom. 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.