Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

tpdequeue rollback vs message ordering in queue

user9130018Sep 15 2014 — edited Sep 18 2014

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

This post has been answered by user9130018 on Sep 18 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2014
Added on Sep 15 2014
3 comments
1,152 views