[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: DeliveryCount & ACKs
clebert.suconic@jboss.com
do-not-reply at jboss.com
Tue Feb 17 20:46:26 EST 2009
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.
I have created a flag StrictUpdateDelivery on the Configuration.
(If anyone has a better name).
I thought about calling it StrictJMS, but that wouldn't be a good name as we could still use this on the core-api only.
Also, another option I considered was to place the attribute on the SessionFactory (or JMSConnectionFactory).
If Tim or anyone think it's better to move or rename the attribute anywhere, it should be an easy change.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210897#4210897
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210897
More information about the jboss-dev-forums
mailing list