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 » Mapping node issue

Post new topic  Reply to topic
 Mapping node issue « View previous topic :: View next topic » 
Author Message
murdeep
PostPosted: Tue Dec 11, 2007 1:14 pm    Post subject: Mapping node issue Reply with quote

Master

Joined: 03 Nov 2004
Posts: 211

Hi, I am running v6.0.2 of tooling and V6.0.0.5 runtime. I am trying to use a mapping node to do what I think should be easy but for the life of me I can't figure it out.

I have modelled my input and output messages. In the mapping node I want to set the target MQMD CorrelId equal to the source MQMD MsgId.

I drag the source to the target and the value for CorrelId shows as:

$source/MQMD/MsgId

I have a trace node immediately following the mapping node where I trace ${Root} and when it dumps the tree I see the CorrelId and it is unchanged (hex zeros).

I am at a loss on why this is not working. This seems so fundamental and I am beginning to wonder if I am losing my mind.

Please advise.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 11, 2007 2:52 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The CorrelID is being written over by a value in the Properties tree (Request ID? I forget which one).

Set the Properties tree value to NULL, or set it to the MsgId of the input message.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
murdeep
PostPosted: Tue Dec 11, 2007 3:32 pm    Post subject: Reply with quote

Master

Joined: 03 Nov 2004
Posts: 211

Jeff, is that documented? I haven't read anything that states fields in the MQMD will be populated with values from the fields in the Properties.

BTW, I assume you were referring to Properties.ReplyIdentifier above? It's the only field in Properties that has any resemblence to a CorrelId.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 11, 2007 4:06 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

murdeep wrote:
Jeff, is that documented? I haven't read anything that states fields in the MQMD will be populated with values from the fields in the Properties.

BTW, I assume you were referring to Properties.ReplyIdentifier above? It's the only field in Properties that has any resemblence to a CorrelId.


There is a note somewhere that talks about various fields in Properties being used instead of "transport headers" or some such.

I really don't feel like digging it up right now.

And yes, ReplyIdentifier sounds right.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
murdeep
PostPosted: Tue Dec 11, 2007 4:08 pm    Post subject: Reply with quote

Master

Joined: 03 Nov 2004
Posts: 211

Ok, I got it to work by doing the following. Before the MQMD in the spreadsheet window of the mapping editor I added the following:

Map Script --> Value
=============
if -->
condition --> fn:true()
for --> $source/MQMD

This seems to work.

I haven't looked at trying what Jeff suggested.
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 » Mapping node issue
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.