mirror of https://github.com/apache/activemq.git
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:
parent
4d265fd5d5
commit
5edede1d0b
|
@ -471,6 +471,9 @@ public class ManagementContext implements Service {
|
||||||
return connectorPort;
|
return connectorPort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @org.apache.xbean.Property propertyEditor="org.apache.activemq.util.MemoryIntPropertyEditor"
|
||||||
|
*/
|
||||||
public void setConnectorPort(int connectorPort) {
|
public void setConnectorPort(int connectorPort) {
|
||||||
this.connectorPort = connectorPort;
|
this.connectorPort = connectorPort;
|
||||||
}
|
}
|
||||||
|
@ -479,6 +482,9 @@ public class ManagementContext implements Service {
|
||||||
return rmiServerPort;
|
return rmiServerPort;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @org.apache.xbean.Property propertyEditor="org.apache.activemq.util.MemoryIntPropertyEditor"
|
||||||
|
*/
|
||||||
public void setRmiServerPort(int rmiServerPort) {
|
public void setRmiServerPort(int rmiServerPort) {
|
||||||
this.rmiServerPort = rmiServerPort;
|
this.rmiServerPort = rmiServerPort;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue