// temporarily increase current transfer count value by 1 and see if it
// would exceed the maximum policy configured for this distributed queue
//
byte transferCount = (byte)transferItem.getMessage().getTransferCount();
if (transferCount+1 > dqconfig.getMaxTransferCount()) {
handler.onThrowable(new MaxTransferCountException("Max transfer count [" + transferCount + "] reached for item"));
return;
}
// get the URL we'll try to transfer to next
// NOTE: if there are no more brokers, this will throw NoMoreRemoteBrokersException