|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSIgetdata / MQSIputdata batch mode? |
« View previous topic :: View next topic » |
Author |
Message
|
Pierre-Yves Lesage |
Posted: Wed Aug 22, 2001 12:18 am Post subject: |
|
|
Novice
Joined: 21 Aug 2001 Posts: 17 Location: London, UK
|
Hi all,
we are trying to find a solution to reprocess valid messages that ended-up on the MQSIruleng failure queue.
We have tried using MQSIgetdata to get the messages off the queue and MQSIputdata to put them back on to the queue.
However, this can only be done one message at a time. We would like to do that in batch.
We have tried the following: With MQSIgetdata we get all the messages off the queue into a text file (including their MQSI header). We then insert a separator between each message (we add a character before "RFH"). We use MQSIputdata to put the messages back on to the queue. In the .mpf file for MQSIputdata, we don't ask to include a RFH header (as it's already at the start of each message) but we use the MQHRF message format. When we look at the messages on the queue, they look ok. However, even if they are valid messages, they are rejected by MQSIruleng and go back to the failure queue.
Note that they did not go to the failure queue in the first place because they were invalid, but because the output queue was full.
Any idea?
Thanks.
Pierre-Yves.
[ This Message was edited by: Pierre-Yves Lesage on 2001-08-22 02:59 ] |
|
Back to top |
|
 |
jhalstead |
Posted: Wed Aug 22, 2001 1:04 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Hey Pierre,
Could it be that 'MQHRF ' is not getting put into the MQMD.Format field as you're not asking MQSIputdata to add the MQRFH header?
Jamie H |
|
Back to top |
|
 |
Pierre-Yves Lesage |
Posted: Wed Aug 22, 2001 1:55 am Post subject: |
|
|
Novice
Joined: 21 Aug 2001 Posts: 17 Location: London, UK
|
Hey Jamie,
Isn't that a coincidence? how are you doing?
Well, I made a typo in my message. We do specify in the .mpf file to use the MQHRF format so that it populates the message descriptor correctly. However, we think the problem might come from some kind of checking that the MQSIruleng or MQSeries would do between the MQSeries header, and the RFH header in the message itself. In other words, the RFH header and the MQSeries header should match in some way. Would that be a possibility?
Pierre-Yves
[ This Message was edited by: Pierre-Yves Lesage on 2001-08-22 02:56 ] |
|
Back to top |
|
 |
Pierre-Yves Lesage |
Posted: Wed Aug 22, 2001 4:42 am Post subject: |
|
|
Novice
Joined: 21 Aug 2001 Posts: 17 Location: London, UK
|
For those interested, the problem we had was caused by the following: we need to specify MQHRF in the .mpf file followed by 3 spaces so that this string is 8 characters long and fills-in the whole MQMD field. If we don't, the header isn't read correctly.
Cheers.
Pierre-Yves
|
|
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
|
|
|
|