[jboss-cvs] JBossAS SVN: r81827 - trunk/messaging/src/main/org/jboss/jms/server/destination.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Nov 30 09:36:21 EST 2008


Author: emuckenhuber
Date: 2008-11-30 09:36:21 -0500 (Sun, 30 Nov 2008)
New Revision: 81827

Modified:
   trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
Log:
[JBAS-6248] disable MessageCounterHistoryDayLimit for persistence, as this fails with a NPE when deploying a topic service.

Modified: trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
===================================================================
--- trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java	2008-11-30 14:33:24 UTC (rev 81826)
+++ trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java	2008-11-30 14:36:21 UTC (rev 81827)
@@ -105,7 +105,7 @@
    public boolean isClustered() { return false; }
    public void setClustered(boolean arg0) { }
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The day limit for the message counter")
+   @ManagementProperty(use={ViewUse.STATISTIC}, description="The day limit for the message counter")
    public int getMessageCounterHistoryDayLimit() { return 0; }
    public void setMessageCounterHistoryDayLimit(int arg0) { }
 




More information about the jboss-cvs-commits mailing list