return response;
log.info("returning response:" + response);   byte[] bytes = StreamUtils.toBytes(response);  return bytes;
   Object execute(PostOfficeInternal office) throws Throwable   {      TransactionId id = new TransactionId(nodeId, txId);            if (hold)      {                  List dels = office.getDeliveries(queueName, numMessages);                  PullMessagesResponse response = new PullMessagesResponse(dels.size());                  if (!dels.isEmpty())         {            Iterator iter = dels.iterator();                        Delivery del = (Delivery)iter.next();                        if (del.getReference().isReliable())            {               //Add it to internal list               if (reliableDels == null)               {                  reliableDels  = new ArrayList();                                    reliableDels.add(del);               }            }            else            {               //We can ack it now               del.acknowledge(null);            }                        response.addMessage(del.getReference().getMessage());         }                  if (reliableDels != null)         {            //Add this to the holding area            office.holdTransaction(id, this);         }                  return response;      }      else      {         office.commitTransaction(id);                  return null;      }   }