any inflight work needs to be thrown away pending a commit. Only prepared transactions should remain after a restart.
On 8 July 2010 10:04, radha_mit <radhakrishn...@ivycomptech.com> wrote: > > > The MemoryTransactionStore contains a rollback method that is called when > the broker is crashed or shutting down. The rollback method then removes > the transactionIds in the two concurrent HashMaps. > > Actually why is it removing the transactions ? i tried commenting those > lines and i found no problem in activeMQ execution ? > > Can any one tell the significance of that rollback method and what are the > consequences if the method body is uncommented ? > > > Thanks, > Radha > -- > View this message in context: > http://old.nabble.com/regarding-ActiveMQ-MemoryPersistence-Adapter-tp29103813p29103813.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com