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 » Reading Deployed XML File Using JCN

Post new topic  Reply to topic
 Reading Deployed XML File Using JCN « View previous topic :: View next topic » 
Author Message
sourdas2
PostPosted: Fri Mar 09, 2012 7:43 am    Post subject: Reading Deployed XML File Using JCN Reply with quote

Voyager

Joined: 21 Apr 2006
Posts: 90
Location: Kolkata,India

Is it possible to deploy a XML file in broker and read the same file using Java Compute node (java.io.*) in WMB v7.0 ?

Once deployed, the xml file resides at '<WorkPath>/components/<BrokerName>/<ExecutionGrp UUID>/config/XML'. But the broker searches the file in '<INSTALL_ROOT>/bin' and throws java.io.FileNotFoundException.

It works when I keep the file in some location and add the same to the class path. Please suggest if it the only option.
_________________
Thanks and Warm Regards
Sourav
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
mqjeff
PostPosted: Fri Mar 09, 2012 7:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's a very bad idea to use properties files from Message Broker.

Use User Defined Properties on your flow to store configuration information.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 09, 2012 7:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
It's a very bad idea to use properties files from Message Broker.




mqjeff wrote:
Use User Defined Properties on your flow to store configuration information.




If you must use a properties file (and by that I mean you have an overwhelming technical requirement not that you have a Pavlovian desire to use properties files with Java) then read it with a FileRead node and cache it.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Reading Deployed XML File Using JCN
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.