Posted: Fri Sep 26, 2008 2:01 am Post subject: Best solutions to replay messages
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 ?
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.
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.
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