[jboss-cvs] JBoss Messaging SVN: r3122 - trunk/src/main/org/jboss/jms/server/destination.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Sep 19 11:21:20 EDT 2007
Author: jhowell at redhat.com
Date: 2007-09-19 11:21:20 -0400 (Wed, 19 Sep 2007)
New Revision: 3122
Modified:
trunk/src/main/org/jboss/jms/server/destination/DestinationServiceSupport.java
trunk/src/main/org/jboss/jms/server/destination/ManagedDestination.java
Log:
http://jira.jboss.com/jira/browse/JBMESSAGING-1075 - fixed null pointer for maxSize
Modified: trunk/src/main/org/jboss/jms/server/destination/DestinationServiceSupport.java
===================================================================
--- trunk/src/main/org/jboss/jms/server/destination/DestinationServiceSupport.java 2007-09-19 15:17:20 UTC (rev 3121)
+++ trunk/src/main/org/jboss/jms/server/destination/DestinationServiceSupport.java 2007-09-19 15:21:20 UTC (rev 3122)
@@ -112,6 +112,8 @@
destination.setName(name);
//must be set after the peer is set on the destination.
+ //setMaxSizeForQueues must be called always when setting
+ //max Size
//http://jira.jboss.com/jira/browse/JBMESSAGING-1075
this.setMaxSizeForQueues();
// http://jira.jboss.com/jira/browse/JBMESSAGING-976
Modified: trunk/src/main/org/jboss/jms/server/destination/ManagedDestination.java
===================================================================
--- trunk/src/main/org/jboss/jms/server/destination/ManagedDestination.java 2007-09-19 15:17:20 UTC (rev 3121)
+++ trunk/src/main/org/jboss/jms/server/destination/ManagedDestination.java 2007-09-19 15:21:20 UTC (rev 3122)
@@ -276,6 +276,7 @@
/**
* Sets the max size for the destination. This will only set the MaxSize field. Processing must be
* done to enable this for the queues.
+ * http://jira.jboss.com/jira/browse/JBMESSAGING-1075
* @param maxSize
* @throws Exception
*/
More information about the jboss-cvs-commits
mailing list