|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WMB8.0.0.2 - FileInput node just to TRIGGER event |
« View previous topic :: View next topic » |
Author |
Message
|
WMD |
Posted: Thu Dec 11, 2014 3:13 pm Post subject: WMB8.0.0.2 - FileInput node just to TRIGGER event |
|
|
Novice
Joined: 26 Mar 2013 Posts: 12
|
Hi,
I am new to file nodes - FileInput node and CDInput node.
I would like to know is there a way where we can just TRIGGER the message flow using File Input(also CDInput) based on file arrival event but should not READ the whole file.
Let me explain my requirements further:
I tried to READ fixed length option (say 1 byte) in the File Input node to trigger the message flow. But once the flow processing completes for that chunck, the control is going back to FileInput node and next 1 byte from the file is being read.
My expectation is once the first chunk of '1 byte' data (signal) has been read, it should not go back again to File Input node for further processing. I am trying to use FileInput node only as a signaller of file arrival and I dont want to read the file on its entirety.
Kindly let me know if am clear with the question.
Please let me know how shall we achieve this scenario in Message Broker using file nodes/other methodology.
Thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Dec 12, 2014 6:52 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If this is what you want, you should send a file that has only one byte.
But if you want to use this kind of triggering, you should really just be using an MQinput node. There's no reason to start with any other kind of input node, if the rest of the operation is going to use *read nodes to gather the actual data.
You can't use any of the *input nodes to start the flow without processing the entire contents of the thing that started the flow.
Well, there are maybe a couple of ways to achieve the same effect, but they're messy and a waste of time. |
|
Back to top |
|
 |
WMD |
Posted: Sat Dec 13, 2014 7:12 am Post subject: |
|
|
Novice
Joined: 26 Mar 2013 Posts: 12
|
Thanks Jeff.
I understand Input node does the the complete read/processing of data.
Just for my better understanding, can you please explain what is that couple of ways to achieve the same effect that you are referring to ?
Thanks. |
|
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
|
|
|
|