[jboss-cvs] JBoss Messaging SVN: r5365 - trunk/src/main/org/jboss/messaging/core/postoffice/impl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Nov 14 12:44:40 EST 2008
Author: timfox
Date: 2008-11-14 12:44:40 -0500 (Fri, 14 Nov 2008)
New Revision: 5365
Modified:
trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java
Log:
Temporarily fix build
Modified: trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java 2008-11-14 14:43:35 UTC (rev 5364)
+++ trunk/src/main/org/jboss/messaging/core/postoffice/impl/PostOfficeImpl.java 2008-11-14 17:44:40 UTC (rev 5365)
@@ -236,8 +236,19 @@
storageManager.deleteBinding(binding);
}
- managementService.unregisterQueue(queueName, binding.getAddress());
-
+ try
+ {
+ managementService.unregisterQueue(queueName, binding.getAddress());
+ }
+ catch (Exception e)
+ {
+ //FIXME - temporary hack to get test suite running
+ //For an unknown reason this is sometimes throwing an exception and preventing
+ //the delete queue from succeeding.
+ //I suspect it is being called after the managementservice has been shut down.
+ log.warn("Failed to unregister queue", e);
+ }
+
return binding;
}
More information about the jboss-cvs-commits
mailing list