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 » Best solutions to replay messages

Post new topic  Reply to topic
 Best solutions to replay messages « View previous topic :: View next topic » 
Author Message
nickkirk
PostPosted: Fri Sep 26, 2008 2:01 am    Post subject: Best solutions to replay messages Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

I am busy designing and implementing a WMB solution for a client.
I am trying to work out the best solution to replay messages that have failed.

I know of the following 3 solutions :

1) Use a queue for failed messages and have the support team take the messages off the queue with rfhutil and resend them. Using rfhutil would cause the message id for the replayed message to change

2) Use a database. Have a script replay the messages from the database. The message id of the replayed message could stay the same.

3) Write a small MQ app to take the messages off the 'failed' queue and resend them with the same message ID.


What is the best solution. Are there other solutions than those listed above ?


Nick Kirk
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Fri Sep 26, 2008 2:26 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

RFHUTILC can remove a message from a queue, write it to a file, read it back from the file and put on a queue with the same msgid as the original message.

Just select "set all context" in the main tab of RFHUTILC. Deselect "new msg id" Works fine.

However applications should not normally be dependent on the msgid value as this is not good practice.
Back to top
View user's profile Send private message
nickkirk
PostPosted: Fri Sep 26, 2008 2:34 am    Post subject: Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

Thanks zpat.

The reason why using the same msgId is important is for the following reason :

An error handling subflow sends an email detailing the failed message to the support staff.
If the resubmitted message fails again using a different msgId, this could be very confusing. The support staff may believe that several different messages have failed when actually only the one did.


I am considering the database option actually.

Advantages:

-A persistent store will allow analysis on the failed messages.
-No user errors as the extraction/resubmission process is automated with scripts
-Will be more secure (i.e. users can't change the data prior to resubmitting a message).


Disadvantages:

-Resource (if many failed messages).
-Provision of scripts to do the data extraction and resubmission of failed messages.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Best solutions to replay messages
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.