|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting File Input Node properties in MB 6.1 |
« View previous topic :: View next topic » |
Author |
Message
|
RaviKrG |
Posted: Thu Jan 29, 2009 11:15 pm Post subject: Setting File Input Node properties in MB 6.1 |
|
|
 Master
Joined: 07 Sep 2008 Posts: 240
|
Hi , My env is toolkit is on windows and broker, configmgr and the QM are on solaris.
I have a flow as FILEINPUT NODE --> COMPUTE NODE --> MQOUT NODE -->compute node --> .........
now file input node gets a file which has the contents as
<Filename>file1</Filename>
<Filename>file2</Filename>
<Filename>file3</Filename>
now the MQOUT NODE contains three different messages as <Filename>file*</Filename> where * is numbers here and finaly compute node after this MQOUT node prepares a message as below for each message on the MQOUT Node as
<File><Filename>file1</Filename></File>
and finally all is fine the rest of the flow continues with out any problem.
Now my problem is when the file is some thing like this
<Filename>file1</Filename>
<Filename>file2</Filename>
<Filename></Filename>
There should be three messages on the MQOUT node and its fine here finally from the next compute node it diverges to two routes as one with file name and the other with file name. all is fine but the problme is that the file goes in the backout folder, which I dont want.
The files should not go to the backout folder what ever the case may. here ofcourse the tag should be proper.
Is this possible or I need to take some other technique to resolve this. |
|
Back to top |
|
 |
MQEnthu |
Posted: Fri Jan 30, 2009 12:45 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
Hi Ravi,
If there is any exception thrown in the flow, message will be rolled back to Backout folder. If I understand you correctly, you do not want to send it to back out folder. You can make it to route to a queue by connecting catch or failure terminal of FileInput to a MQOutput (or any error handler flow if you have).
______________________ |
|
Back to top |
|
 |
RaviKrG |
Posted: Fri Jan 30, 2009 12:53 am Post subject: |
|
|
 Master
Joined: 07 Sep 2008 Posts: 240
|
yup i dont want the file to reach the backout folder.
i did not understan for connecting the failure terminal of the file node to the mqoutput node.
do you mean to say something like
fileinput node(failure terminal) -> compute node -> mqoutput node |
|
Back to top |
|
 |
MQEnthu |
Posted: Fri Jan 30, 2009 2:23 am Post subject: |
|
|
 Partisan
Joined: 06 Oct 2008 Posts: 329 Location: India
|
Quote: |
i did not understan for connecting the failure terminal of the file node to the mqoutput node.
do you mean to say something like
fileinput node(failure terminal) -> compute node -> mqoutput node |
No I meant like this:
fileinput node(failure/catch terminal) -> mqoutput node
so that the if there is any exception down the flow, message will be sent the error queue instead of back out folder. Howevr if you have any error handling subflow, you can connect that too which may help you to debug the exception.
__________________________________ |
|
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
|
|
|
|