ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Reordering of MQ messages during rollback

Post new topic  Reply to topic
 Reordering of MQ messages during rollback « View previous topic :: View next topic » 
Author Message
ipmqadm
PostPosted: Fri Sep 14, 2012 7:55 am    Post subject: Reordering of MQ messages during rollback Reply with quote

Acolyte

Joined: 18 Apr 2007
Posts: 68

"When messages are rolled back to a queue, is there any setting/feature that would allow a message to be placed at the bottom of the queue instead of its original order?"

I was aked this question and replied 'NO', but wanted to see if any of you other experts here knew of something I don't.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 14, 2012 8:24 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You could define a backout queue, roll the failing message onto that and (with some external process) move that message from the backout queue to the original queue where it would (obviously) be at the bottom.

Assuming the queue is ordered FIFO not priority of course.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ipmqadm
PostPosted: Fri Sep 14, 2012 9:23 am    Post subject: Reply with quote

Acolyte

Joined: 18 Apr 2007
Posts: 68

Thanks Vitor...

Yeah the backout queue would work, but the whole issue here is the 'automated' aspect of this request. Therefore it would have to be something that the qmgr could perform for us without some other form of intervention to do the reordering.

I'm just convinced it simply can't be done and even questioned the requestor as to 'why' they would want to reorder the sequence during rollback...
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 14, 2012 10:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ipmqadm wrote:
Yeah the backout queue would work, but the whole issue here is the 'automated' aspect of this request. Therefore it would have to be something that the qmgr could perform for us without some other form of intervention to do the reordering.


So you don't believe the external process I mentioned could be executed by a trigger set on the backout queue? IBM will be gutted to discover trigger processes can't run an external script.....

ipmqadm wrote:
I'm just convinced it simply can't be done and even questioned the requestor as to 'why' they would want to reorder the sequence during rollback...


You're certainly correct that you can't get the queue manager to roll the message back onto the end of the queue rather than the front. I would theorise that they want the message at the end of the queue in the hope any transient error will be fixed by the time it works it's way to the front, but it is a little unusual.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Sep 14, 2012 11:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

ipmqadm wrote:
'why' they would want to reorder the sequence during rollback...


A strict definition of 'rollback' means that reordering the sequence is strictly not rollback. "rollback" means "back where it came from", not "back where I want it to go".

So either they can put it somewhere that they want to, or they can roll it back.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Reordering of MQ messages during rollback
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.