[jboss-svn-commits] JBL Code SVN: r10115 - labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sat Mar 10 18:34:25 EST 2007


Author: mark.little at jboss.com
Date: 2007-03-10 18:34:25 -0500 (Sat, 10 Mar 2007)
New Revision: 10115

Modified:
   labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/ActionProcessingPipeline.java
Log:
added comment.

Modified: labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/ActionProcessingPipeline.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/ActionProcessingPipeline.java	2007-03-10 21:31:41 UTC (rev 10114)
+++ labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/ActionProcessingPipeline.java	2007-03-10 23:34:25 UTC (rev 10115)
@@ -1,3 +1,25 @@
+/*
+ * 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.listeners.message;
 
 import java.lang.reflect.Constructor;
@@ -154,7 +176,6 @@
      */
     protected void actionClassException(ConfigTree tree, Message msg,  Throwable thrown)
     {
-//    	thrown.printStackTrace();
     	String sMethod = obtainAttribute(tree,ListenerTagNames.EXCEPTION_METHOD_TAG,null);
     	if (null!=sMethod)
 	    	try
@@ -223,7 +244,7 @@
 	public void waitUntilComplete() {
 		while(!processingComplete) {
 			try {
-				Thread.sleep(50);
+				Thread.sleep(50);  // TODO magic number
 			} catch (InterruptedException e) {
 				_logger.error("Thread Interrupted.", e);
 			}




More information about the jboss-svn-commits mailing list