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 » How To Read A Config File And Add To The Local Env

Post new topic  Reply to topic
 How To Read A Config File And Add To The Local Env « View previous topic :: View next topic » 
Author Message
intisam
PostPosted: Wed Nov 26, 2008 4:47 am    Post subject: How To Read A Config File And Add To The Local Env Reply with quote

Novice

Joined: 18 Mar 2008
Posts: 21

Hi,
Since I am trying to build a generic flow,I am passing all the details (Configuration) thru a xml config file.

I am able to read the cfg file and fetch the fields one by one using JavaCompute node,but I am trying to read the whole cfg file and place the whole cfg tree into a new tree (Configuration)under "LocalEnvironment.XMLNSC." tree.

Can you please help me out,sample code will be great.

Regards,
Intisam
Back to top
View user's profile Send private message Send e-mail
Mandeep
PostPosted: Fri Nov 28, 2008 12:11 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 33

You can use FileInput Node to read the contents of Config File, and use a compute node after that to put the contents to Local Environment and work with the original message which you must have saved in Environment tree earlier (i.e the message which triggered your flow - be it MQ or HTTP).
Back to top
View user's profile Send private message
intisam
PostPosted: Sun Nov 30, 2008 11:31 pm    Post subject: Reply with quote

Novice

Joined: 18 Mar 2008
Posts: 21

Thanks for your reply.But I can not use FileInput node to read the file,because I dont want to do anything (As mentionedin the "Action On Successfull Processing" parameter) the config file.

I am looking for java approach
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How To Read A Config File And Add To The Local Env
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.