mirror of https://github.com/apache/activemq.git
Li, Fan <fanli@amazon.com> reported to the mailing list that the connector id was not being incremented.
fixed. git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@387930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e94ba16710
commit
ea7dd79062
|
@ -296,7 +296,7 @@ public abstract class JmsConnector implements Service{
|
||||||
|
|
||||||
static int nextId;
|
static int nextId;
|
||||||
static private synchronized int getNextId() {
|
static private synchronized int getNextId() {
|
||||||
return nextId;
|
return nextId++;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setName(String name) {
|
public void setName(String name) {
|
||||||
|
|
Loading…
Reference in New Issue