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 » Elements missing in the o/p message

Post new topic  Reply to topic
 Elements missing in the o/p message « View previous topic :: View next topic » 
Author Message
mqsidude
PostPosted: Thu Jan 22, 2004 8:52 pm    Post subject: Elements missing in the o/p message Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

Hi folk,
I have a mrm with two simple elements of type int and float. These elements are assigned default values using element values. I have a simple flow with a compute node followed by trace node.The mrm is added for output messages in compute node and i have mapped a value for one of the elements. The trace writes the Root to a file. Now the problem is that the trace shows only the mapped element. The message in output queue shows the correct length but only the mapped element is visible but not the other one. My expectation is to get the message with all the elements, including the ones which are not mapped with their default values. Any clues?

Thanks,
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Jan 22, 2004 11:44 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

I am bit lost here. Are you saying that the "default value" elements are not visible when you see the message on the output queue? Are you sure you have included the elements in your message definition?
Default values for unmapped elements are applied when the bitstream of the message is created.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
mqsidude
PostPosted: Fri Jan 23, 2004 1:49 am    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

You are right. The elements which are not mapped with some values in the compute node are missing in the trace (These have default vales set!). The trace is being taken after the compute node. What i could see in trace is only the elements which are mapped. But the message length in the output queue is correct.
Back to top
View user's profile Send private message
wooda
PostPosted: Fri Jan 23, 2004 2:16 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2003
Posts: 265
Location: UK

1.) Default Values never appear in trace. They are only inserted when the bitstream is written (ie. in the output node).

2.) Default values are only inserted in some circumstances.
If the wire format is CWF. And the Occurences of the element are less than the repeat count.
If the wire format is TDS and the separation technique of the parent type is Fixed Length and the occurences of the element are less than the Min Occurs field for the element.
Back to top
View user's profile Send private message
mqsidude
PostPosted: Fri Jan 23, 2004 6:12 am    Post subject: Reply with quote

Centurion

Joined: 22 Jan 2004
Posts: 148

That clears my doubt...
Thanks guys....
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 » Elements missing in the o/p message
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.