Author |
Message
|
KIT_INC |
Posted: Tue Oct 12, 2010 10:02 am Post subject: Anyway to read file in the middle of a message flow |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
I have a requirement to read file data when a message contains certain condition. I am running WMB V61. I do not see any input terminal for a file node. So I can not think of a way to drive the node when the MQ message which starts the flow contains a certain condition. Any suggestion? Does File node in V7 has input terminal ? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 12, 2010 10:06 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There is no FileGet node in any currently shipping Broker product.
Why does the data need to stay in a file until it's needed?
Can you use a FileInput to stick it on a queue and use an MQGet when the conditions are right? |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 12, 2010 10:06 am Post subject: Re: Anyway to read file in the middle of a message flow |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
KIT_INC wrote: |
Any suggestion? |
Load the file data into a database & save yourself a ton of trouble with file locks?
Break out of a JCN? (And hope another instance of the flow isn't reading the file, and that it's not being updated)
Load the file data into a shared variable & access that?
Other, better, solutions are undoubtable possible. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
KIT_INC |
Posted: Tue Oct 12, 2010 10:21 am Post subject: |
|
|
Knight
Joined: 25 Aug 2006 Posts: 589
|
Thanks for the quick responses. We just like to confirm that we have not missed any available feature or feature that may be available soon.
Thanks, we will consider the suggested solutions here. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Oct 12, 2010 10:29 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you want accurate information about features in future releases, you need to contact your IBM sales rep. |
|
Back to top |
|
 |
zpat |
Posted: Wed Oct 13, 2010 12:46 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You can also browse it with the MQGET node.
But a FileGet does sound like a useful feature to have. The main issue would be the transactional behaviour, but reading reference data would be safe enough. |
|
Back to top |
|
 |
|