|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Visual Edit -- Forwarding Messages |
« View previous topic :: View next topic » |
Author |
Message
|
ljbeck |
Posted: Tue Apr 26, 2005 5:43 am Post subject: Visual Edit -- Forwarding Messages |
|
|
Newbie
Joined: 30 Dec 2004 Posts: 4
|
I am using MQ Visual Edit and I have a question about the Forward message feature.
In the process of forwarding messages there is a dialog that displays: "Warning: Are you sure you want to forward (delete then insert) the selected item? ..."
My concern is around the "delete then insert".
What happens to messages if the destination queue cannot be written to for some reason?
Are the messages lost? ( I assume not but that is a dangerous word)
I just need to ensure that the messages are safe, somewhere, and that I can get them to the proper destination at some point.
Thanks in advance for your time |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Apr 26, 2005 6:49 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
Quote: |
I am using MQ Visual Edit and I have a question about the Forward message feature.
In the process of forwarding messages there is a dialog that displays: "Warning: Are you sure you want to forward (delete then insert) the selected item? ..."
My concern is around the "delete then insert". |
The reason I put the line of "delete then insert" is because I want people understand that MQ Visual Edit is behaving like any other normal MQ application (it's not doing any tricks or anything special).
The logic is
Code: |
while (more messages)
get message under syncpoint
build new message from retrieved message
put message under syncpoint
commit
endWhile |
So, MQ Visual Edit is careful about not dropping messages if the put fails. If an exception is thrown the a rollback is executed and then the function termintes (with a popup window about the error).
If you wanted to be absolutely safe, then you could 'Backup' the messages from Queue 'A' to a file then 'Restore' the messages from a file to Queue 'B'. (The Backup & Restore write & read to/from a VEQ that contains both the MQMD & message data.).
Hope that helps.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
ljbeck |
Posted: Wed Apr 27, 2005 4:25 am Post subject: |
|
|
Newbie
Joined: 30 Dec 2004 Posts: 4
|
As I suspected. You have things well under control.
The message just made me a little wary.
Thanks for your timley response. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|