"clebert.suconic(a)jboss.com" wrote : Just to complete the thread,
|
| What I was suggesting was to keep incrementing deliveries only after ACK, and recover
the delivery counter from the journal, by inspecting rolled back data.
|
|
| But as we talked on IRC, I only created a flag, and if that flag is set we would
update the deliveryCount after sending.
|
DeliveryCount needs to be updated *before* delivery, not after.
If flag persistDeliveryCountBeforeDelivery = true then you also need to persist the update
in storage *before* delivery.
If flag persistDeliveryCountBeforeDelivery = false then you can defer updating delivery
count in storage until the reference is cancelled.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210919#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...