[jboss-svn-commits] JBL Code SVN: r10473 - labs/jbossesb/branches/JBESB_4_0_MP1/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Mar 23 09:51:55 EDT 2007


Author: kevin.conner at jboss.com
Date: 2007-03-23 09:51:55 -0400 (Fri, 23 Mar 2007)
New Revision: 10473

Modified:
   labs/jbossesb/branches/JBESB_4_0_MP1/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java
Log:
Removed cleanups

Modified: labs/jbossesb/branches/JBESB_4_0_MP1/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java
===================================================================
--- labs/jbossesb/branches/JBESB_4_0_MP1/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java	2007-03-23 13:51:26 UTC (rev 10472)
+++ labs/jbossesb/branches/JBESB_4_0_MP1/product/core/rosetta/src/org/jboss/internal/soa/esb/couriers/JmsCourier.java	2007-03-23 13:51:55 UTC (rev 10473)
@@ -133,7 +133,6 @@
 	 */
 	public boolean deliver (Message message) throws CourierException
 	{
-        try {
     		if (_isReceiver)
     			throw new CourierException("This is a read-only Courier");
     
@@ -170,9 +169,6 @@
     			}
     		}
     		return false;
-        } finally {
-            cleanup();
-        }
 	} // ________________________________
 
 	/**
@@ -304,7 +300,6 @@
 
 	public Message pickup (long millis) throws CourierException
 	{
-        try {
     		if (!_isReceiver)
     			throw new CourierException("This is an outgoing-only Courier");
     		if (millis < 1)
@@ -382,9 +377,6 @@
     			_logger.error("Object in JMS message has invalid XML", e5);
     		}
     		return null;
-        } finally {
-            cleanup();
-        }
 	} // ________________________________
 
 	private void createMessageConsumer () throws CourierException, ConfigurationException, MalformedEPRException




More information about the jboss-svn-commits mailing list