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 » copyElementTree() method

Post new topic  Reply to topic
 copyElementTree() method « View previous topic :: View next topic » 
Author Message
EAI Developer
PostPosted: Wed Apr 04, 2012 11:37 am    Post subject: copyElementTree() method Reply with quote

Centurion

Joined: 30 Nov 2005
Posts: 101
Location: US

Hi,
I am trying to add three element tree from global environment(globalenv ->XMLNSC->Input ->Part1,->Part2,->Part3) to a new outmessage, which I have created. The logic is inside while loop, so that copy can happen three times. But, as the documentation rightly says(reliazed late) , copyElementTree will override the tree, but not append. So, any other option to do so. Could not find anything useful in forum search.

Thanks !
_________________
___________________
Regards,
EAI Developer.
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Wed Apr 04, 2012 12:45 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Which MB API provides copyElementTree()?

Have you confirmed that you are properly specifying unique destinations for the copy? I'd think that if you created the root of each copy and then told it to copy into there, then it would work?

Maybe you would have to descend to each child of the tree in the Environment that you're copying and then copy those.
Back to top
View user's profile Send private message
EAI Developer
PostPosted: Fri Apr 06, 2012 8:14 am    Post subject: Reply with quote

Centurion

Joined: 30 Nov 2005
Posts: 101
Location: US

Hi Jeff,
That is what I did as alternative. Copy each element tree separately into outputRoot.
_________________
___________________
Regards,
EAI Developer.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » copyElementTree() method
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.