Map nameMap = (Map)nameMaps.get(this.nodeId);
Map nameMap = (Map)nameMaps.get(new Integer(this.nodeId));
   public Binding bindQueue(String condition, Queue queue) throws Exception   {      if (queue.getName() == null)      {         throw new IllegalArgumentException("Queue name is null");      }            if (condition == null)      {         throw new IllegalArgumentException("Condition is null");      }             lock.writeLock().acquire();      try      {                  //We currently only allow one binding per name per node         Map nameMap = (Map)nameMaps.get(this.nodeId);                  Binding binding = null;                  if (nameMap != null)         {            binding = (Binding)nameMap.get(queue.getName());         }                  if (binding != null)         {            throw new IllegalArgumentException("Binding already exists for name " + queue.getName());         }                          binding = new DefaultBinding(this.nodeId, condition, queue);                   addBinding(binding);                        if (queue.isRecoverable())         {            //Need to write the binding to the db                        insertBinding(binding);                }                                    return binding;         }      finally      {         lock.writeLock().release();      }   }   