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

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028278 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-10-28 12:47:47 +00:00
parent 4d265fd5d5
commit 5edede1d0b
1 changed files with 6 additions and 0 deletions

View File

@ -471,6 +471,9 @@ public class ManagementContext implements Service {
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 implements Service {
return rmiServerPort;
}
/**
* @org.apache.xbean.Property propertyEditor="org.apache.activemq.util.MemoryIntPropertyEditor"
*/
public void setRmiServerPort(int rmiServerPort) {
this.rmiServerPort = rmiServerPort;
}