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 » WebSphere Message Broker (ACE) Support » Message content MQJExplorer

Post new topic  Reply to topic Goto page 1, 2  Next
 Message content MQJExplorer « View previous topic :: View next topic » 
Author Message
madi
PostPosted: Tue Feb 14, 2006 11:55 am    Post subject: Message content MQJExplorer Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Tue Feb 14, 2006 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
madi
PostPosted: Tue Feb 14, 2006 12:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Feb 14, 2006 12:27 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

these are both support packs.
http://www-1.ibm.com/support/docview.wss?uid=swg27007205

One is MA01 and the other is IH03.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
markneil
PostPosted: Fri Feb 17, 2006 6:31 am    Post subject: Reply with quote

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
View user's profile Send private message
madi
PostPosted: Fri Feb 17, 2006 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 17, 2006 7:08 am    Post subject: Reply with quote

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
View user's profile Send private message
madi
PostPosted: Fri Feb 17, 2006 7:12 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Feb 17, 2006 7:19 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Feb 17, 2006 7:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
madi
PostPosted: Fri Feb 17, 2006 7:40 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Feb 17, 2006 7:45 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
madi
PostPosted: Fri Feb 17, 2006 9:55 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Feb 17, 2006 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
madi
PostPosted: Fri Feb 17, 2006 11:18 am    Post subject: Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

so what should my next step be??
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message content MQJExplorer
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.