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 » FileInput node properties

Post new topic  Reply to topic
 FileInput node properties « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Thu May 29, 2008 2:24 am    Post subject: FileInput node properties Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

We are using FILEINPUT nodes under MB v 6.1
One of the node properties is the path to the file to read.

Can this value be loaded from a system envir var or any other variable,
as a UDP or Shared var ?

To load it from a "properties" file ?

Our flows live in 3 environments : development, testing and production,
and we dont want the production nodes to have the development file path.

How do you resolve this situation in the real world ?

Sebastia.
Back to top
View user's profile Send private message Visit poster's website
Gaya3
PostPosted: Thu May 29, 2008 2:33 am    Post subject: Re: FileInput node properties Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

sebastia wrote:

One of the node properties is the path to the file to read.

Can this value be loaded from a system envir var or any other variable,
as a UDP or Shared var ?

To load it from a "properties" file ?

Our flows live in 3 environments : development, testing and production,
and we dont want the production nodes to have the development file path.

How do you resolve this situation in the real world ?


File input node, wont dynamically look in to properties file, its a static connectivity node

AFIK, you have to hard code the path address

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
mqpaul
PostPosted: Thu May 29, 2008 2:47 am    Post subject: A couple of ways to adjust the File directory path Reply with quote

Acolyte

Joined: 14 Jan 2008
Posts: 66
Location: Hursley, UK

Both FileInput and FileOutput nodes resolve relative file paths against the MQSI_FILENODES_ROOT_DIRECTORY environment variable. So you can use this to locate directories differently on your different systems. Take care, as an environment variable is per-process, which for broker means per-execution group. If multiple applications share the same group, you can't go changing the variable's value.

The alternative way to change the directory is using the bar file editor when you deploy the application. The directory path is a configurable property for both input and output nodes. You could, if it helped, promote it to a flow property, and change that using the bar file editor.
_________________
Paul
Back to top
View user's profile Send private message
sebastia
PostPosted: Thu May 29, 2008 2:52 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks Gaya, for your opinion.
Thanks, Paul - the PATH seems an interesting starting point.

Just a question : I understand all that you say about the BAR editor,
- I usualy change MQInput properties, even I dont like it -
except one sentence :

"You could, if it helped, promote it to a flow property,
and change that using the bar file editor."

What is the meaning of "PROMOTE IT TO A FLOW PROPERTY" ?

I understand it already is a flow property, or not ?
Is there anything I have to do to make it be "a flow property" ?

Seb.
Back to top
View user's profile Send private message Visit poster's website
rlagares
PostPosted: Thu May 29, 2008 4:34 am    Post subject: FTP configuration in FTPInputNode Reply with quote

Newbie

Joined: 09 Oct 2007
Posts: 7

We are trying to resolve this problem in the FTP properties of the FileNodeInput using the command :
"msicreateconfigurableservice". View the next link:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac55160_.htm

Best regards.
Back to top
View user's profile Send private message
sebastia
PostPosted: Thu May 29, 2008 8:33 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

I can read the page you pointed me to,
but I dont understand how does it solve
the problem I have ...

Can you provide a sample,
a bit more of explanation,
anything else, please ?

Cheers. Seb.
Back to top
View user's profile Send private message Visit poster's website
yaakovd
PostPosted: Mon Jun 02, 2008 11:33 am    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Add Input Directory as promote property.

when you create BAR-file, you need allways set this property on "Configure" tab according to your current environment.
Don't forget - Toolkit clean the value after each compilation.
If you set Input Directory and then promote it - this value will be your default after compilation till you change it.
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
mqpaul
PostPosted: Wed Jun 04, 2008 4:50 am    Post subject: Meaning of "PROMOTE IT TO A FLOW PROPERTY" Reply with quote

Acolyte

Joined: 14 Jan 2008
Posts: 66
Location: Hursley, UK

Quote:
"You could, if it helped, promote it to a flow property,
and change that using the bar file editor."

What is the meaning of "PROMOTE IT TO A FLOW PROPERTY" ?

I understand it already is a flow property, or not ?
Is there anything I have to do to make it be "a flow property" ?


See the Promoting a Property topic in the broker information center.
_________________
Paul
Back to top
View user's profile Send private message
sebastia
PostPosted: Fri Jun 06, 2008 2:45 pm    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Man - I love pointers .... I love URL's ...
Yes, I am not joking - thanks a lot.
Sometimes I think there is too much documentation
and somehow it has to be filtered before it reached "normal" brains as mine.
()
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » FileInput node properties
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.