Author |
Message
|
simonalexander2005 |
Posted: Fri Feb 17, 2017 3:16 am Post subject: Catching FTP errors with a FileInput Node (IIB) |
|
|
Acolyte
Joined: 13 Jun 2016 Posts: 55
|
In IBM's Integration Bus (IIB), I am developing a message flow that takes a file from an FTP site and processes it.
If for some reason the FileInput node can't get the file from FTP (e.g. if the configured property's password is incorrect), currently this error is being written to /var/log/messages.
How can I instead get this error to be propagated to the Error Handler (via the catch or failure nodes)? Have I got them hooked up correctly? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 17, 2017 4:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This error can't be received by the fileInput node. It happens before the FileInput node gets any data. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
joebuckeye |
Posted: Fri Feb 17, 2017 4:41 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 Location: Columbus, OH
|
The connections look ok.
Have you tried to do a service trace or put Trace nodes in your flow to see what is really happening? |
|
Back to top |
|
 |
simonalexander2005 |
Posted: Fri Feb 17, 2017 5:33 am Post subject: |
|
|
Acolyte
Joined: 13 Jun 2016 Posts: 55
|
mqjeff wrote: |
This error can't be received by the fileInput node. It happens before the FileInput node gets any data. |
Interesting, that's good to know, thanks. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Feb 17, 2017 5:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
The FileInput node scans the local directory. The SFTP client puts files in the local directory... _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|