[jboss-cvs] JBossAS SVN: r86697 - branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 2 17:15:19 EDT 2009


Author: scott.stark at jboss.org
Date: 2009-04-02 17:15:19 -0400 (Thu, 02 Apr 2009)
New Revision: 86697

Modified:
   branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java
   branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
Log:
JBAS-6689, only dispatch updates to the runtime component if the property ActivationPolicy is IMMEDIDATE.

Modified: branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java
===================================================================
--- branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java	2009-04-02 21:14:15 UTC (rev 86696)
+++ branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java	2009-04-02 21:15:19 UTC (rev 86697)
@@ -66,7 +66,8 @@
 
    @ManagementProperty(use={ViewUse.CONFIGURATION},
          description="The destination's JNDI name",
-         mandatory=true, includeInTemplate=true)
+         mandatory=true, includeInTemplate=true,
+         activationPolicy=ActivationPolicy.DEPLOYMENT_RESTART)
    @ManagementObjectID(type="Queue")
    public String getJNDIName() { return null; }
    public void setJNDIName(String arg0) throws Exception { }

Modified: branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
===================================================================
--- branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java	2009-04-02 21:14:15 UTC (rev 86696)
+++ branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java	2009-04-02 21:15:19 UTC (rev 86697)
@@ -64,7 +64,8 @@
 
    @ManagementProperty(use={ViewUse.CONFIGURATION},
          description="The destination's JNDI name",
-         mandatory=true, includeInTemplate=true)
+         mandatory=true, includeInTemplate=true,
+         activationPolicy=ActivationPolicy.DEPLOYMENT_RESTART)
    @ManagementObjectID(type="Topic")
    public String getJNDIName() { return null; }
    public void setJNDIName(String arg0) throws Exception { }




More information about the jboss-cvs-commits mailing list