|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem with NEON output Formatter |
« View previous topic :: View next topic » |
Author |
Message
|
Missam |
Posted: Mon Jan 12, 2004 4:10 pm Post subject: Problem with NEON output Formatter |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Hi
i have input xml message which needs to be converted to output neon formatter message
my input looks like
Code: |
<message>
<message1>
......
......
</message1>
<message2>
........
........
</message2>
.......
......
</message>
|
and my output formatter looks like this
Code: |
<mymsg>
<mymsg1> {Repeat} --OC
--seg1
--seg2
--seg3 {repeat} --OF
--seg4
|
the problem is seg3 is repeating but mymsg1 is not repeating in my output message .
Any Help will be appreceated..
Thanx
sam |
|
Back to top |
|
 |
EddieA |
Posted: Mon Jan 12, 2004 4:43 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
What version of WMQI. Which domain are you using: NEON or NEONMSG.
Have you got the NNSY-XML-repeating="true" attributes set for each repeat.
Look in the Working with Messages manual (the -02 level as a minimum)to see where these are needed.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Missam |
Posted: Mon Jan 12, 2004 9:06 pm Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Hi Eddie,
Thanx for your reply,
I'm using WMQI 2.1 csd 2 and i'm using NEONMSG.
I didn't set NNSY-XML-repeating = true attribute.
by the way in "working with messages manual" it says we have to manually edit the incoming XML message to insert this attribute.
Is that mean that we process the incoming XML to add this attribute for every reating part and then parse with NEONMSG parser.will this impact the performace of the broker if the volume of imcoming message is high.suppose my message contains more repeating compound elements
do i need to add this attribute to each compound element just as show below
Code: |
<message>
<message1>
<message2>......</message2>
<message2>.......</message2>
.........
........
</message1>
<message1>
<message2>......</message2>
<message2>.......</message2>
.........
........
</message1>
</message>
|
do i need to edit like this
Code: |
<message>
<message1 NNSY-XML-repeating="true">
<message2 NNSY-XML-repeating="true">......</message2>
<message2 NNSY-XML-repeating="true">.......</message2>
.........
........
</message1>
<message1 NNSY-XML-repeating="true">
<message2 NNSY-XML-repeating="true">......</message2>
<message2 NNSY-XML-repeating="true">.......</message2>
.........
........
</message1 >
</message>
|
Thanx
Sam |
|
Back to top |
|
 |
EddieA |
Posted: Tue Jan 13, 2004 9:40 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
When they say "manually edit the incoming XML message to insert this attribute", what they really mean, is build the XML that's input to the NEONMSG 'parse' to include the attribute.
What you've suggested looks correct to me.
I wouldn't have though that adding a single SET statement to each repeating element would impact the flow that much.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|