private boolean addClientQueueProperty(ClientQueueProperty prop, boolean allowMultiAddress) {
if (prop == null) return false;
// We use a list to allow in future mutliple addresses
if (!allowMultiAddress && this.clientQueuePropertyList.size() > 0) {
Address addr = prop.getCurrentAddress();
log.warning("Clients side load balancing is not implemented, we ignore the additional address" +
((addr==null) ? "" : " '"+addr.toString()+"'"));
//Thread.currentThread().dumpStack();
return false;
}
this.clientQueuePropertyList.add(prop);
return true;