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
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.
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