Posted: Wed Apr 22, 2009 1:52 pm Post subject: want to read file in message broker
Newbie
Joined: 08 Sep 2007 Posts: 4 Location: Mumbai
we are developing the message broker code which reads the file on system. We are using broker 6.1 service pack 3. We are trying to use file input node. The problem here is file input node has only below options
1. delete after processing
2. archive
3. archive with time stamp.
Once the file is read after one message comes it either gets deleted or moved from that location. We do not want this to happen. We want that property file present there so that any messages coming can read that file. basically we do not want fileinput node to delete or move that file.
Do let me know if some one has tried this before. Or is there any other way to read the file. I know java compute node. Still there is anything else?? Your help is highly appreciated
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
zpat wrote:
What are you trying to achieve with this message flow?
Sounds like the poster's trying to read a parameter file, or a file of standing data.
If so, probably better storing it in a database table.
The FileInput node (as it's name suggests) is intended for use as an input to the flow. It's design assumes that, having used the data as input to a flow process, you don't want to do it again and duplicate the results. _________________ 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