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 » Archives - All » Visual Edit -- Forwarding Messages

This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.
 Visual Edit -- Forwarding Messages « View previous topic :: View next topic » 
Author Message
ljbeck
PostPosted: Tue Apr 26, 2005 5:43 am    Post subject: Visual Edit -- Forwarding Messages Reply with quote

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
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Tue Apr 26, 2005 6:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
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
View user's profile Send private message Visit poster's website
ljbeck
PostPosted: Wed Apr 27, 2005 4:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » Archives - All » Visual Edit -- Forwarding 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.