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 » Dynamically set Reset Content descriptor

Post new topic  Reply to topic
 Dynamically set Reset Content descriptor « View previous topic :: View next topic » 
Author Message
siri2083
PostPosted: Wed Feb 02, 2011 9:13 pm    Post subject: Dynamically set Reset Content descriptor Reply with quote

Apprentice

Joined: 16 Apr 2009
Posts: 39

Hello,

Can we set the RestContentDescriptor proprties(MessageSet,MessageType and MessageFormat) values dynamically.

If yes, Can anybody help me on this.

Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Feb 02, 2011 10:37 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Where are these properties located in the message Tree?
If you find that then you can change them in ESQL.

{hint, a TraceNode set to ${Root} is a good place to start}

_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
santnmq
PostPosted: Wed Feb 02, 2011 10:42 pm    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2011
Posts: 125

I don't think you can reset the properties at run time for this node. It should be predefined within the node as what content needs to be reset.

Go through the below link, it may be useful

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac04810_.htm
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Feb 02, 2011 11:20 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What I was hinting at is that you can replace the RCD node with a few lines of ESQL.
Once you know where the properties that the RCD Node changes are located you can set them yourself and importantly do it on the fly depending upon the content of other bits of the message.

One place this is potentially useful is if the incoming message has an RFH2 header that defines the MessageSet etc. The MQInput Node will parse the message as appropriate even if the MQ node is setup to read everything as a BLOB.
You can then override the RFH2 properties with a few lines of ESQL. I've used this where the sender is referencing an out of date Message Set and is too lazy to change their app. We can see the one they are using in the message and override it if required. Luckily, the Parse on Demand model used by Broker works in our favour here.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Dynamically set Reset Content descriptor
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.