[jboss-svn-commits] JBL Code SVN: r14550 - labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sat Aug 25 10:00:50 EDT 2007


Author: burrsutter
Date: 2007-08-25 10:00:49 -0400 (Sat, 25 Aug 2007)
New Revision: 14550

Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java
Log:
updated to SI API changes

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java	2007-08-25 12:29:20 UTC (rev 14549)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java	2007-08-25 14:00:49 UTC (rev 14550)
@@ -51,13 +51,9 @@
     	{
     		System.out.println("Usage SendEsbMessage <category> <name> <text to send>");
     	}
-    	// Create a message, assign it a UID, and fill in call information
-    	Message esbMessage = MessageFactory.getInstance().getMessage();
-    	Call	call = new Call();
-    	call.setMessageID(new URI(UUID.randomUUID().toString()));
-    	esbMessage.getHeader().setCall(call);
     	
-    	// set body contents with args[2], and send
+    	Message esbMessage = MessageFactory.getInstance().getMessage();
+
     	esbMessage.getBody().setByteArray(args[2].getBytes());
     	
         new ServiceInvoker(args[0], args[1]).deliverAsync(esbMessage);




More information about the jboss-svn-commits mailing list