protected synchronized String nextCnxKey(){
  if (connectionsCounter == Integer.MAX_VALUE)   connectionsCounter=0;
  connectionsCounter++;
  int randLong=random.nextInt(Integer.MAX_VALUE);
  return connectionsCounter + (randLong + "_" + ID_SUFFIX);
}

protected synchronized String nextCnxKey ( ) { if ( connectionsCounter == Integer . MAX_VALUE ) connectionsCounter = 0 ; connectionsCounter ++ ; int randLong = random . nextInt ( Integer . MAX_VALUE ) ; return connectionsCounter + ( randLong + "_" + ID_SUFFIX ) ; }
according to the m_connfactorytype we decide what would be the connection key prefix . using tc prefix for topicconnection or qc prefix for queueconnection , or using xatc prefix for xatopicconnection or xaqc prefix for xaqueueconnection .
