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 » General Discussion » want to read file in message broker

Post new topic  Reply to topic
 want to read file in message broker « View previous topic :: View next topic » 
Author Message
aniket.g24
PostPosted: Wed Apr 22, 2009 1:52 pm    Post subject: want to read file in message broker Reply with quote

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
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
zpat
PostPosted: Wed Apr 22, 2009 11:24 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

If the fileinput node did not delete or move the file, how would it avoid processing the same file over and over again?

The presence of the file starts the message flow.

What are you trying to achieve with this message flow?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Apr 22, 2009 11:49 pm    Post subject: Reply with quote

Grand High Poobah

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.
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 » General Discussion » want to read file in message broker
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.