Author |
Message
|
madi |
Posted: Tue Feb 14, 2006 11:55 am Post subject: Message content MQJExplorer |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
Hi All
I have a wierd problem.
I am unbatching a message and using PROPAGATE for getting multiple messages.
The unbatching takes place fine and I have 3 xml messages in the output queue.
Im using MQJExplorer to view and save the messages to a file.
When I see the message data in the MessageData tab(in MQJExplorer), it is exactly what is expected, each xml having different data and of different size..
But when I save it to a file and then look at the file, all have the same data in it!!
And the wierd part is the MessageData tab also changes.
WHen I press 'Refresh' it again goes back to its original data.
I know its hard to describe the problem, but I hope you get a picture of what im talkin about.
Please help.
madi |
|
Back to top |
|
 |
EddieA |
Posted: Tue Feb 14, 2006 12:20 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
I'd try and use something other than MQJExplorer. That is pretty old now, and hasn't been updated for a long time. Nor, as I understand it, will it ever be updated.
Both q and rfhutil have the ability to save messages to a file.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
madi |
Posted: Tue Feb 14, 2006 12:25 pm Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
Thanks Eddie
Can somebody point me out to a link where I download that stuff? Im trying to find it but having a hard time.
Thanks
madi |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 14, 2006 12:27 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
markneil |
Posted: Fri Feb 17, 2006 6:31 am Post subject: |
|
|
Apprentice
Joined: 09 Sep 2003 Posts: 26
|
Madi, it sounds like your message IDs are not unique.
Using MQJExplorer I've seen the situation exactly as you describe it when the messages all have the same ID.
Mark |
|
Back to top |
|
 |
madi |
Posted: Fri Feb 17, 2006 6:53 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
I thought MQ gave unique message ids to the messages when they are put in the queue.
So this only happens when I am using PROPAGATE.
One interesting thing is when I am using the Flow Debug and going through the flow step by step, I should see the messages in the queue as soon as the PROPAGATE statement is executed but thats not the case, you only can see the messages in the queue after the whole flow is executed i mean after all the PROPAGATEs are executed and we come out of the flow.
Im confused and so using RHFUtil.
Also, when I write a msg to a file using RFHUtil, i get some junk that gets appended at the top of the message, can we get rid of it?
I tried to paste it here but Im not able to copy paste that junk!!
cheers
madi |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 17, 2006 7:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you're using PROPAGATE, then likely you are using CopyMessageHeaders, which is copying the MQMD entirely to each new message.
You can set a property on the MQOutput node to cause it to tell MQ to generate a new message ID on every message.
Does the "junk" contain "MQHRF2"? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
madi |
Posted: Fri Feb 17, 2006 7:12 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
Quote: |
Does the "junk" contain "MQHRF2"? |
No
I has the broker name, Broker QM name, my user Id and this number 2006021622094279 . All of these are seperated by some characters like WingDings or something! |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Feb 17, 2006 7:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Can you use amqsbcg from a command line to dump these messages into a text file, where you can then copy/paste the junk here so we can look at it a little more? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Feb 17, 2006 7:24 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
One interesting thing is when I am using the Flow Debug and going through the flow step by step, I should see the messages in the queue as soon as the PROPAGATE statement is executed but thats not the case, you only can see the messages in the queue after the whole flow is executed i mean after all the PROPAGATEs are executed and we come out of the flow.
|
And this sounds like the broker is only committing the messages at the end of the execution of the flow thread. (you should see the curdepth on the queue go up in any case). Change the transaction mode property on the MQOutput node to "no". _________________ -wayne |
|
Back to top |
|
 |
madi |
Posted: Fri Feb 17, 2006 7:40 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
I was trying to set the MQOutput node Transaction property and the Message Flow editor didnt open and gave the error
Code: |
Unable to create part: MessageFlow editor |
WHen i press ok it says
Code: |
Error occured when activating this view |
So I thought it would go away if I delete the metadata but there is no .metadata folder in the project folder for this project.
What can I do?
plz help
madi |
|
Back to top |
|
 |
wschutz |
Posted: Fri Feb 17, 2006 7:45 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
So I thought it would go away if I delete the metadata but there is no .metadata folder in the project folder for this project |
.metadata is in your workspace directory, not the individual project directories....
Quote: |
Unable to create part: MessageFlow editor |
are you reasonibly up to date on toolkit service? _________________ -wayne |
|
Back to top |
|
 |
madi |
Posted: Fri Feb 17, 2006 9:55 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
I have fixpack7 installed if thats what u mean, what did u mean by toolkit service?
I still cant open the msg flow, this happens only with 1 msg flow, all other are fine.
plz help
madi |
|
Back to top |
|
 |
wschutz |
Posted: Fri Feb 17, 2006 11:15 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
I meant: "service (aka CSDs, FP's) applied to the toolkit". In the early days of the toolkit, it would break a msgflow and then you couldn't edit it with the message flow editor anymore. I think CSD2 fixed that ... _________________ -wayne |
|
Back to top |
|
 |
madi |
Posted: Fri Feb 17, 2006 11:18 am Post subject: |
|
|
 Chevalier
Joined: 17 Jan 2006 Posts: 475
|
so what should my next step be?? |
|
Back to top |
|
 |
|