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 » Configuring FileInput to pick from multiple directories

Post new topic  Reply to topic
 Configuring FileInput to pick from multiple directories « View previous topic :: View next topic » 
Author Message
Vanshul_MB
PostPosted: Wed Feb 09, 2011 3:15 am    Post subject: Configuring FileInput to pick from multiple directories Reply with quote

Acolyte

Joined: 09 Feb 2011
Posts: 68

We have a requirement wherein supplier will put one file each in 10000 directories and we need to pick it up from there.

We proposed a solution wherein there will ve a java code whcih will pick up all the files and dump it in single folder and FileInput will pick it up from there

But they dont want java code and want the stuff to be done in FileInput node

Is there any way we can do this.

Please help

Thanks
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 09, 2011 4:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

10,000 directories?

That's insane.

No, in general you can't handle this without putting in a flow with 10,000 FileInputs.

Look at something like MQFTE or etc.

Or make all 10,000 of those directories actually be symlinks to one common directory.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Feb 09, 2011 4:56 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

mqjeff wrote:


Or make all 10,000 of those directories actually be symlinks to one common directory.


What are the odd that the filenames are identical?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 09, 2011 5:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
10,000 directories?

That's insane.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 09, 2011 5:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

smdavies99 wrote:
What are the odd that the filenames are identical?


I'd say fairly good - I'm postulating a retail solution where each store has the same application that transmits sales data, stock levels or so forth and does so by writing out a hard coded file name. Through the magic of the network, these files are routed to the directory for an individual store.

I could be completely wrong, don't much care if I am and it doesn't affect the OP's insane requirement 1 jot.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 09, 2011 5:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Again, this is not a task ideally suited for Broker - at least at the current level.

This is a task that is ideally suited for any number of B2B or managed file transfer solutions - like MQFTE or Sterling Connect Direct or whatever.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Feb 09, 2011 6:09 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Also the option of running the open source file to message adapter (file mover) that Capitalware provides. This could run at each of these file locations.

http://www.capitalware.biz/open_source.html
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 » WebSphere Message Broker (ACE) Support » Configuring FileInput to pick from multiple directories
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.