[jboss-svn-commits] JBL Code SVN: r15019 - in labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld: test and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Sep 11 15:41:13 EDT 2007


Author: mark.little at jboss.com
Date: 2007-09-11 15:41:13 -0400 (Tue, 11 Sep 2007)
New Revision: 15019

Removed:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SampleObject.java
Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java
   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/SendJMSMessage.java
Log:
http://jira.jboss.com/jira/browse/JBESB-1025, http://jira.jboss.com/jira/browse/JBESB-1018

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java	2007-09-11 16:58:43 UTC (rev 15018)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/MyJMSListenerAction.java	2007-09-11 19:41:13 UTC (rev 15019)
@@ -23,7 +23,6 @@
 import org.jboss.soa.esb.actions.AbstractActionLifecycle;
 import org.jboss.soa.esb.helpers.ConfigTree;
 import org.jboss.soa.esb.message.Message;
-import org.jboss.soa.esb.samples.quickstart.helloworld.test.SampleObject;
 
 public class MyJMSListenerAction extends AbstractActionLifecycle
 {
@@ -37,7 +36,6 @@
 		
 		  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");		  		  
 		  System.out.println("Body: " + new String(message.getBody().getByteArray()));
-		  System.out.println("And: "+(SampleObject) message.getBody().get());
 		  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
 		  return message; 
         		

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SampleObject.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SampleObject.java	2007-09-11 16:58:43 UTC (rev 15018)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SampleObject.java	2007-09-11 19:41:13 UTC (rev 15019)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2006, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.jboss.soa.esb.samples.quickstart.helloworld.test;
-
-import java.io.Serializable;
-
-public class SampleObject implements Serializable
-{
-    public static final long serialVersionUID = 0x01234L;
-    
-    public String name;
-    public int value;
-}
\ No newline at end of file

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-09-11 16:58:43 UTC (rev 15018)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendEsbMessage.java	2007-09-11 19:41:13 UTC (rev 15019)
@@ -22,10 +22,6 @@
 
 package org.jboss.soa.esb.samples.quickstart.helloworld.test;
 
-import java.net.URI;
-import java.util.UUID;
-
-import org.jboss.soa.esb.addressing.Call;
 import org.jboss.soa.esb.message.Message;
 import org.jboss.soa.esb.message.format.MessageFactory;
 import org.jboss.soa.esb.client.ServiceInvoker;
@@ -55,7 +51,6 @@
     	Message esbMessage = MessageFactory.getInstance().getMessage();
 
     	esbMessage.getBody().setByteArray(args[2].getBytes());
-    	esbMessage.getBody().add(new SampleObject());
     	
         new ServiceInvoker(args[0], args[1]).deliverAsync(esbMessage);
     	

Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java	2007-09-11 16:58:43 UTC (rev 15018)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld/src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java	2007-09-11 19:41:13 UTC (rev 15019)
@@ -70,8 +70,6 @@
         QueueSender send = session.createSender(que);        
         ObjectMessage tm = session.createObjectMessage(msg);
         
-        tm.setObject(new SampleObject());
-        
         send.send(tm);        
         send.close();
     }




More information about the jboss-svn-commits mailing list