Author |
Message
|
pratuluv |
Posted: Mon Jan 09, 2012 5:05 am Post subject: Reading a File in the middle of a flow |
|
|
Acolyte
Joined: 25 May 2011 Posts: 53
|
Hi,
I want to read a file in the middle of my message flow. I know about MQGet Node to read a message from queue but I want to read a file from a location. Any suggestions? |
|
Back to top |
|
 |
zpat |
Posted: Mon Jan 09, 2012 5:08 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
The cryptically named FileRead node? |
|
Back to top |
|
 |
cociu_2012 |
Posted: Mon Jan 09, 2012 5:15 am Post subject: |
|
|
Acolyte
Joined: 06 Jan 2012 Posts: 72
|
zpat wrote: |
The cryptically named FileRead node? |
you're saying FileInput node? or there is a node that we don't know about.
Anyway FileInput is an input node, so it can't be used in the middle.
My first answer is to have another flow that reads all the files and saves them somewhere, DB, MQ an then correlate messages in the main flow at any step you want.
It could be some more ingenious solutions, so please. |
|
Back to top |
|
 |
pratuluv |
Posted: Mon Jan 09, 2012 5:21 am Post subject: |
|
|
Acolyte
Joined: 25 May 2011 Posts: 53
|
zpat wrote: |
The cryptically named FileRead node? |
I am using MB 7.0.0.1. It does not have a File Read node. Are you talking about some specific fix pack? |
|
Back to top |
|
 |
mqmatt |
Posted: Mon Jan 09, 2012 5:25 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
FileRead was added in V7.0.0.2.
Thanks! |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 09, 2012 5:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
cociu_2012 wrote: |
you're saying FileInput node? or there is a node that we don't know about. |
Well it's clearly a node you don't know about....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jan 09, 2012 5:36 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vitor wrote: |
cociu_2012 wrote: |
you're saying FileInput node? or there is a node that we don't know about. |
Well it's clearly a node you don't know about....  |
Take it easy on him Vitor. He just made the promotion to Novice. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jan 09, 2012 5:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
Vitor wrote: |
cociu_2012 wrote: |
you're saying FileInput node? or there is a node that we don't know about. |
Well it's clearly a node you don't know about....  |
Take it easy on him Vitor. He just made the promotion to Novice. |
I think this is the third time in 3 days I've seen a comment about titles (all from different people, I'm just commenting on an odd coincidence). Undoubtably someone with a background in group psychology or social dynamics could make a lot out of that....
Anyway, and once again, I'll remind the assembled populace that the titles are linked to the number of posts not the quality. Long time members will know full well we've had people in the past rack up quite impressive post counts without a lot of content.
To the topic in question; if the thought crosses your mind "FileRead node? No such thing. The idiots must mean 'Fileinput' and you can't use that in the middle of a flow", then perhaps taking 5 seconds to type "FileRead" into the InfoCenter would be a wise investment. Despite my wonderful comment about post count not equating to quality, most posters with the count of zpat who are not me don't make that kind of obvious factual error.
Cases in point:
I have 10 times the post count of mgk. Am I going to contradict him on a WMB issue without being really, really, sure of my facts?
Would anyone contradict kimbert on a parser question???  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
cociu_2012 |
Posted: Mon Jan 09, 2012 7:11 am Post subject: |
|
|
Acolyte
Joined: 06 Jan 2012 Posts: 72
|
lancelotlinc wrote: |
Take it easy on him Vitor. He just made the promotion to Novice. |
I have a few days activity on this forum. What I can for sure say is that lancelotlinc on the latest topics had answered just remarks on other people and that he took WM663 class and he is so smart. It's easy to assume where he has that number of posts.
On topic: I don't think that pratuluv has this node on his pallet and still asking this question.
@pratuluv - what version of WMB are you using?
Thanks. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jan 09, 2012 7:17 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
One thing I really enjoy is someone who devotes energetic thought to his or her posts. I can tell that cociu will be a great asset to our discussions here.
I offer a peace pipe and extend a hand of welcome to our forum. Let's reset our view of each other and see what we can do to add value to our technical insights. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jan 09, 2012 7:17 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
cociu_2012 wrote: |
@pratuluv - what version of WMB are you using?
Thanks. |
He did say in a previous reply that he was on 7.0.0.1,
mqmatt then added
Quote: |
FileRead was added in V7.0.0.2.
|
ergo, the solution is for the OP to move from 7.0.0.1 to 7.0.0.2. _________________ 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 |
|
 |
marko.pitkanen |
Posted: Mon Jan 09, 2012 8:21 am Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
Hi,
Any good reasons why he should not move straight to the latest recommended fix pack level (7.0.0.3)?
--
marko |
|
Back to top |
|
 |
pratuluv |
Posted: Mon Jan 09, 2012 8:29 pm Post subject: |
|
|
Acolyte
Joined: 25 May 2011 Posts: 53
|
Thank you all. I will install the fix pack to upgrade to 7.0.0.3 and look for the File Read Node... Hope something like that exist. |
|
Back to top |
|
 |
vennela |
Posted: Mon Jan 09, 2012 9:53 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 10, 2012 5:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I know, I know. All this chatter and the OP "hopes" that it exists. Presumably concerned the 7.0.0.3 install will complete, the File tab will open, there'll be no FileRead node & we'll all jump out from behind the screen and shout "April Fool!".
Mind you, given some of his other posts about installaion & conexistence, reading the InfoCenter doesn't seem to be a priority... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|