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 » Writing Environment tree into file using Fileoutput node

Post new topic  Reply to topic
 Writing Environment tree into file using Fileoutput node « View previous topic :: View next topic » 
Author Message
Santosh_Ghalsasi
PostPosted: Tue Nov 22, 2011 12:40 am    Post subject: Writing Environment tree into file using Fileoutput node Reply with quote

Novice

Joined: 01 Feb 2011
Posts: 19

Hi,
I am using Fileoutput node for writing data onto the files.
I have two doubts

1. How to write Environment tree into the file?
- I tried giving $Environment into the 'Data Location' field of node. Its not working.

2. If I want to write any specific tag from the message tree then how to do that?
- For this do I need to use xpath Expression Builder?

Please help.

Thanks,
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 22, 2011 2:43 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Ignore the fact that this is the FileOutput node.

How would do you this with *any* output node?
Back to top
View user's profile Send private message
Santosh_Ghalsasi
PostPosted: Tue Nov 22, 2011 2:48 am    Post subject: Reply with quote

Novice

Joined: 01 Feb 2011
Posts: 19

Hi,
For environment variables, I need to bring them into body and for elements inside the body should be referred by giving the xpath.

Please correct me if I am wrong.

Thanks,
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Nov 22, 2011 3:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

In general, the best way to ensure that Broker writes out exactly and only the data that you wish it to write out is to use Broker to ensure that the Root tree contains exactly and only the data you wish to write out.

I.e. write your code to populate OutputRoot with the correct things and no incorrect things, and then ensure you have a model that matches the correct things.
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 » Writing Environment tree into file using Fileoutput node
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.