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 » File Input node capture exception

Post new topic  Reply to topic
 File Input node capture exception « View previous topic :: View next topic » 
Author Message
iib
PostPosted: Tue Sep 15, 2015 6:41 am    Post subject: File Input node capture exception Reply with quote

Apprentice

Joined: 26 Jun 2015
Posts: 27

Good Morning,

Anyone know how to catch the exception if from the FileInput node can not connect to SFTP, this in order to send an email to notify.

Thank you.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Sep 15, 2015 7:54 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Through your standard exception handling code?

Many organisations have some form of common exception handling. This might need mosifying to detect the right error and send the email (preferably in a separate flow)
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 15, 2015 7:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I'd be surprised if the flow received any kind of notice that the SFTP server was not available - at least for FileInput. That's usually logged at the system level.

But, of course, I haven't reviewed that stuff recently, so I'm glad to find out I'm wrong.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
iib
PostPosted: Tue Sep 15, 2015 10:17 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jun 2015
Posts: 27

If I can see the error in the system level, but would like to know if I can control that error from the integration.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Sep 15, 2015 10:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I'd be surprised if you could.

But I haven't looked at the documentation recently.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 16, 2015 3:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
I'd be surprised if you could.




But conversely, if the error's being reported at the system level, whatever tool you have monitoring the system can almost certainly detect the error and email someone out of the box.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
akil
PostPosted: Fri Sep 18, 2015 10:59 am    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

The error is logged in the syslog by the broker, but it is not considered a failure by the FileInput node, so it's not possible to capture thus in the flow.
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Fri Sep 18, 2015 11:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

akil wrote:
The error is logged in the syslog by the broker, but it is not considered a failure by the FileInput node, so it's not possible to capture thus in the flow.


It's not considered a failure by the FileInput node because it never reaches the FileInput node. The FTP/SFTP process is polling in the background, and the FileInput node is monitoring a 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 » File Input node capture exception
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.