|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ResetContentDescriptor query |
« View previous topic :: View next topic » |
Author |
Message
|
Blobtastic |
Posted: Wed Sep 01, 2004 6:24 am Post subject: ResetContentDescriptor query |
|
|
Apprentice
Joined: 03 Nov 2003 Posts: 34 Location: uk
|
Can someone clarify something for me please.
I thought a ResetContentDescriptor, with 'XML' set as the domain and all the other values set to blank, with all the reset boxes checked, was the same as coding in eSQL:-
SET OutputRoot.Properties.MessageDomain = 'XML';
SET OutputRoot.Properties.MessageSet = '';
SET OutputRoot.Properties.MessageType = '';
SET OutputRoot.Properties.MessageFormat = '';
but the ResetContentDescriptor works, whereas the code doesn't.
Could someone explain the difference to me, or point out what is missing from the eSQL to make it work?
There is no real reason for needing this info, other than cosmetic and greater personal understanding!
Many thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Sep 01, 2004 9:53 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Changing the properties of the message doesn't actually cause the message to get a new parser assigned to it.
Using the Reset Content Descriptor does.
You might be able to do everything in a compute node, if you created the new parser in the Output Root and did a couple of other things...
But the RCD node is a) easier, b) more "obvious" what you're doing, c) guaranteed to continue to work as long as the RCD node exists...
So I personally stick with the RCD. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Blobtastic |
Posted: Thu Sep 02, 2004 12:15 am Post subject: |
|
|
Apprentice
Joined: 03 Nov 2003 Posts: 34 Location: uk
|
ok, thanks Jeff - I'll stick with the RCD! |
|
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
|
|
|
|