2011-09-16 57 views

回答

2

找到我的答案看source code

if (txn != null && 
     bulkAddRequest.encodingSize() > QueueConstants.maxTransactionalRequestSizeBytes()) { 
     throw new IllegalArgumentException(
      String.format("Transactional add may not be larger than %d bytes: %d bytes requested.", 
       QueueConstants.maxTransactionalRequestSizeBytes(), 
       bulkAddRequest.encodingSize())); 
    }