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 » IBM MQ API Support » Update MQ header to set flag in it that it is read already

Post new topic  Reply to topic
 Update MQ header to set flag in it that it is read already « View previous topic :: View next topic » 
Author Message
prasannaladdha
PostPosted: Sun Mar 09, 2003 10:43 pm    Post subject: Update MQ header to set flag in it that it is read already Reply with quote

Newbie

Joined: 06 Dec 2002
Posts: 9

Hi All,
In my App. I know that I will get Sales order hedaer and items messages.
When header/Item comes I need to send response message for that.
But, once all messages for a sales order arrive I need to post that in SAP to create sales order.

Now, I may receive header initially, after that one item message may come today, another after 6 hrs, or may be next day.

So, problem is will have to wait till I browse all messages.
But, if Today I had browsed header and send its response back, Then item message comes next day, that time how will know that I had already sent response for header message?

Can I update the message headers, so that I can say using that as a flag that I had browsed it earlier/sent its response already.

Let me know ur feedback and solutions.
Thanks.
-Pras
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Mar 10, 2003 8:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The only way that you are going to be able to update something in the message header is to get the message, make the update, and put the message back.

How you thought about using message groups? The putting application could put everything in one group. Your getting program could then get the group when all messages are available. The downside is that you don't send back the ack for the header message until all messages are available.

Another option would be to actually get the message off of the queue and put it into a database while you waited for the rest of the messages to come in. WMQI is built for things like this.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Update MQ header to set flag in it that it is read already
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.