|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to read a file "on demand" |
« View previous topic :: View next topic » |
Author |
Message
|
sebastia |
Posted: Wed Feb 19, 2014 8:34 am Post subject: how to read a file "on demand" |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi - we are using FileInput node in a flow of ours.
It monitors a directory for a file name (or pattern) and then reads it.
Is it possible to read the file "on demand", this is, not when it comes up in that directory, but when a message is received in a flow ?
So, I would like my sequence to be
a) file is sent to broker's filesystem using FTP
b) a message is sent to a MQ queue where a MB flow waits
c) flow reads file (after decoding the message proper format)
The file is a quite large table to go into a shared variable, so it can not be done (maybe) at the moment the file comes to the directory.
Thanks. Sebastian. |
|
Back to top |
|
 |
McueMart |
Posted: Wed Feb 19, 2014 8:37 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
Would a File Read node not meet your requirement (MQInput->Compute->FileRead->...) ? If not, why not? |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 19, 2014 8:50 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
FileInput did not meet my requirements, but FileRead shall do it ...
I was "obsessed" on using FileInput, that's all
Thanks a lot. |
|
Back to top |
|
 |
Gralgrathor |
Posted: Fri Feb 21, 2014 11:45 am Post subject: |
|
|
Master
Joined: 23 Jul 2009 Posts: 297
|
Pre_7004 one might do it using a filein-mqoutput-mqinput-mqget construction. _________________ A measure of wheat for a penny, and three measures of barley for a penny; and see thou hurt not the oil and the wine. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|