String lastNodeId, long channelID)
int lastNodeId, long channelID)
   void addMessage(String routingKey, Message message, Map queueNameToNodeIdMap,                   String lastNodeId, long channelID)   {      //If we only ever send messages to the same node for this tx, then we can unicast rather than multicast      //This is how we determine that      if (lastNodeId == null)      {         multicast = true;      }      else      {         if (!lastNodeId.equals(toNodeId))         {            multicast = true;         }         else         {            toNodeId = lastNodeId;         }      }            MessageHolder holder = new MessageHolder(routingKey, message, queueNameToNodeIdMap);            if (message.isReliable())      {         if (persistent == null)         {            persistent = new ArrayList();         }         persistent.add(holder);                  checkChannelID = channelID;      }      else      {         if (nonPersistent == null)         {            nonPersistent = new ArrayList();         }         nonPersistent.add(holder);      }   }