Hello
I am trying to adopt tuxedo queue subsystem to my application. I have a tuxedo queue created with command:
qcreate -d persist dummySvc fifo none 9999999
When I enqueue (TPNOFLAGS) three messages foo1, foo2 and foo3 I can dequeue them in order foo1, foo2, foo3.
But I need this (fifo) ordering also when I sometimes rollback dequeue operation:
enqueue foo1 -> commit
enqueue foo2 -> commit
enqueue foo3 -> commit
dequeue, I get foo1 -> rollback
dequeue, I get foo2 (I want foo1 again!) -> commit
dequeue, I get foo3 -> commit
dequeue, I get foo1 -> commit
ordering: foo2, foo3, foo1 instead of foo1, foo2, foo3
What you can see above is that foo1 jumped out of order because of application rollback.
How can I configure tuxedo queue and/or enqueue and dequeue functions to ensure that when
I rollback dequeue operation the rolled back message will be still first message to dequeue next time?
checked on tuxedo: 11.1.1.2.0 Patch Level 022 and 129 on Aix 6.1 64 bit