mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-03-06 01:10:14 +00:00
ARTEMIS-244 - fixed property name
https://issues.apache.org/jira/browse/ARTEMIS-244
This commit is contained in:
parent
38a809fded
commit
35ab56fd91
@ -280,9 +280,10 @@ public class ColocatedHAManager implements HAManager {
|
||||
integer += portOffset;
|
||||
params.put("port", integer.toString());
|
||||
}
|
||||
Object serverId = params.get("server-id");
|
||||
Object serverId = params.get("serverId");
|
||||
if (serverId != null) {
|
||||
params.put("server-id", serverId.toString() + "(" + name + ")");
|
||||
Integer newid = Integer.parseInt(serverId.toString()) + portOffset;
|
||||
params.put("serverId", newid.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user