|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
FileOutnode Directory and file name change |
« View previous topic :: View next topic » |
Author |
Message
|
rajbuddha |
Posted: Sun Jan 15, 2012 12:09 am Post subject: FileOutnode Directory and file name change |
|
|
 Apprentice
Joined: 02 Aug 2011 Posts: 47 Location: chennai
|
Hi Folks ,
I am using wmb 8 , I need to sent message into a local file system with different directory(per day) and file name (timestamp) .
Based upon the Info which got from wmb8 help ,
The property entered in basic tab will be over ridden by Request tab properties .
Before fileoutput node i have compute node , and i am setting the properties as below in this compute node
------
SET OutputLocalEnvironment.Destination.File.Directory = 'C:\TEMP\EXCEPTION\NEW' ;
But i am not getting expected result..getting exception saying invalid location WrongDir-----
Below are the basic and request tab properties
-- Basic
----------
Directory : WrongDir
--- Request
--------------
DataLocation : $Body
Request directory Property location : $LocalEnvironment/Destination/File/Directory
$LocalEnvironment/Destination/File/Name :
$LocalEnvironment/Destination/File/Name
--------------Please let me where i am odd .. If directory is fine i can use the same info for file name as well...
Thanks in advance guys => _________________ -----------
Raju Buddha
Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One... |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jan 15, 2012 4:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Assuming your compute node properties are set to change the local environment,
Does the directory exist ?
Does the FTE Agent's service id/broker's service id have the adequate rights to it?
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jan 15, 2012 4:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Moving to broker forum... _________________ MQ & Broker admin |
|
Back to top |
|
 |
anand158 |
Posted: Thu Jan 19, 2012 11:16 am Post subject: |
|
|
Newbie
Joined: 25 May 2005 Posts: 8
|
I am useing this
SET OutputLocalEnvironment.Destination.File.Name = fileName;
SET OutputLocalEnvironment.Destination.File.Directory = folderName;
Change the compute node properties (compute mode) to LocalEnvironment and Message
It works for me |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|