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 » File Input on demand

Post new topic  Reply to topic
 File Input on demand « View previous topic :: View next topic » 
Author Message
ruturajw
PostPosted: Tue Jan 05, 2010 4:08 pm    Post subject: File Input on demand Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

Hi,
I'm trying to build a flow which would read a file on-demand i.e. not poll the directory at an interval. I was hoping to use the WMB 6.1 File Input node but it seems to be available only in a polling mode.

Also, can the input directory be dynamically configured? We need to read from a directory which has a GUID as its name.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 05, 2010 5:23 pm    Post subject: Re: File Input on demand Reply with quote

Grand High Poobah

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

ruturajw wrote:
I'm trying to build a flow which would read a file on-demand i.e. not poll the directory at an interval.


Demanded by what? How is it intended that the flow will know there's a file to be processed?

ruturajw wrote:
Also, can the input directory be dynamically configured? We need to read from a directory which has a GUID as its name.


Again, dynamically configured by what? How is the name passed?

Also, slightly off topic, why is the directory name dynamic? A more traditional model has a dynamic file name in a static directory.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ruturajw
PostPosted: Tue Jan 05, 2010 5:51 pm    Post subject: Re: File Input on demand Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

An application will call the flow, which will pass the GUID. (the GUID is known to the calling appl as part of an web-based UI).
As part of processing this flow, I'm visualising to read a file. I need to read the file, parse the contents and send the reply back to the appl.

The directory name is the GUID (supplied by the calling appl) and the file name is static in the context of the flow (can be configured by UDP).

So far my only option is looking like a Java code to the file read call.

Thanks for your help in advance.

Cheers.
Back to top
View user's profile Send private message
ruturajw
PostPosted: Tue Jan 05, 2010 5:59 pm    Post subject: Re: File Input on demand Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

Vitor wrote:

Also, slightly off topic, why is the directory name dynamic? A more traditional model has a dynamic file name in a static directory.


This is the model that an external application uses that we are now integrating with.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Jan 06, 2010 12:14 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.

would you care to name this external application so that any other forum readers who have to do the same can learn from your experiences?
_________________
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
mqmatt
PostPosted: Wed Jan 06, 2010 2:35 am    Post subject: Re: File Input on demand Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

ruturajw wrote:
I'm trying to build a flow which would read a file on-demand i.e. not poll the directory at an interval.

So, a triggered FileInput? This is not currently possible. It's a known requirement, but please raise it through your IBM account team if you'd like to see it.
Back to top
View user's profile Send private message
ruturajw
PostPosted: Thu Jan 07, 2010 8:28 pm    Post subject: Re: File Input on demand Reply with quote

Newbie

Joined: 05 Jan 2010
Posts: 8

mqmatt wrote:

So, a triggered FileInput? This is not currently possible. It's a known requirement, but please raise it through your IBM account team if you'd like to see it.


Yes.
OK, will do. Thanks.
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 » File Input on demand
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.