16381639164016411642164316441645164616471648
{ del.getReference().setScheduledDeliveryTime(System.currentTimeMillis() + rec.redeliveryDelay); } if (trace) { log.trace("Cancelling delivery " + cancel.getDeliveryId()); } del.cancel(); } else { if (expired) {
486487488489490491492493494495496
{ Delivery del = (Delivery)toCancel.get(i); try { del.cancel(); } catch (Throwable t) { log.error("Failed to cancel delivery", t); throw new TransactionException(t.getMessage(), t);
13011302130313041305130613071308130913101311
ReferenceInfo mInfo = refInfoMap.get(m.getMessageID()); mref.setDeliveryCount(mInfo.getDeliveryCount()); mref.setScheduledDeliveryTime(mInfo.getScheduledDelivery()); Delivery del = new SimpleDelivery(ch, mref, true, true); del.cancel(); } } } }
17441745174617471748174917501751175217531754
16071608160916101611161216131614161516161617
484485486487488489490491492493494
16151616161716181619162016211622162316241625
13481349135013511352135313541355135613571358
ReferenceInfo mInfo = refInfoMap.get(m.getMessageID()); mref.setDeliveryCount(mInfo.getDeliveryCount()); mref.setScheduledDeliveryTime(mInfo.getScheduledDelivery()); Delivery del = new SimpleDelivery(ch, mref, true, true); del.cancel(); } channels.add(ch); } } }
17921793179417951796179717981799180018011802