|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Question on uniqueness of MQMD.MsgId |
« View previous topic :: View next topic » |
Author |
Message
|
prasadpav |
Posted: Fri Sep 14, 2007 4:10 am Post subject: Question on uniqueness of MQMD.MsgId |
|
|
 Centurion
Joined: 03 Oct 2004 Posts: 142
|
I'm writing a shell script to load queues with text files using MQO3 - Load/Unload support pack. Now these text files are created by unloading messages from a different queue.
If I load the queue with same text files twice, then the same message is appearing on the queue with the same MsgId. I thought when we put a message on queue, the MsgId must be unique. Or is the argument about unique MsgId is confined only to single transaction i.e. within a single transaction, all the messages which are put on a single queue must have different MsgId's.
Regards,
Prasad |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 14, 2007 4:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It seems that the unload process is saving the msgid in the file. Then, every time you load the file, it has the same id. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
prasadpav |
Posted: Fri Sep 14, 2007 4:46 am Post subject: |
|
|
 Centurion
Joined: 03 Oct 2004 Posts: 142
|
Yes, it is saving the entire MQMD structure in the file. But should the queue manager throw an exception saying that both the messages have same MsgId?
Regards,
Prasad |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Sep 14, 2007 5:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
No. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|