|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Update MQ header to set flag in it that it is read already |
« View previous topic :: View next topic » |
Author |
Message
|
prasannaladdha |
Posted: Sun Mar 09, 2003 10:43 pm Post subject: Update MQ header to set flag in it that it is read already |
|
|
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 |
|
 |
bower5932 |
Posted: Mon Mar 10, 2003 8:01 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|