You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2010/10/28 14:47:48 UTC

svn commit: r1028278 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java

Author: gtully
Date: Thu Oct 28 12:47:47 2010
New Revision: 1028278

URL: http://svn.apache.org/viewvc?rev=1028278&view=rev
Log:
partial fix for https://issues.apache.org/activemq/browse/AMQ-2939 - allow the management context port values to be properties by ensuring that their schema is of type string rather than integer

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java?rev=1028278&r1=1028277&r2=1028278&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java Thu Oct 28 12:47:47 2010
@@ -471,6 +471,9 @@ public class ManagementContext implement
         return connectorPort;
     }
 
+    /**
+     * @org.apache.xbean.Property propertyEditor="org.apache.activemq.util.MemoryIntPropertyEditor"
+     */
     public void setConnectorPort(int connectorPort) {
         this.connectorPort = connectorPort;
     }
@@ -479,6 +482,9 @@ public class ManagementContext implement
         return rmiServerPort;
     }
 
+    /**
+     * @org.apache.xbean.Property propertyEditor="org.apache.activemq.util.MemoryIntPropertyEditor"
+     */
     public void setRmiServerPort(int rmiServerPort) {
         this.rmiServerPort = rmiServerPort;
     }