ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Catching FTP errors with a FileInput Node (IIB)

Post new topic  Reply to topic
 Catching FTP errors with a FileInput Node (IIB) « View previous topic :: View next topic » 
Author Message
simonalexander2005
PostPosted: Fri Feb 17, 2017 3:16 am    Post subject: Catching FTP errors with a FileInput Node (IIB) Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 17, 2017 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message
joebuckeye
PostPosted: Fri Feb 17, 2017 4:41 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 364
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
View user's profile Send private message
simonalexander2005
PostPosted: Fri Feb 17, 2017 5:33 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 17, 2017 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Catching FTP errors with a FileInput Node (IIB)
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.