StreamUtils.writeObject(out, selector, false, false);
StreamUtils.writeObject(out, filter.getFilterString(), false, false);
   public void write(DataOutputStream out) throws Exception   {      out.writeUTF(nodeId);            out.writeUTF(queueName);            out.writeUTF(condition);            out.writeBoolean(active);            StreamUtils.writeObject(out, selector, false, false);            out.writeLong(channelId);            out.writeBoolean(durable);   }