|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Accessing the ExceptionList values in Handler scope |
« View previous topic :: View next topic » |
Author |
Message
|
rel |
Posted: Wed Jan 16, 2013 5:46 am Post subject: |
|
|
 Novice
Joined: 10 Jan 2013 Posts: 11
|
mqjeff wrote: |
In order for a handler to process exceptions that occur downstream of the compute node that they are coded in, you need to explicitly propagate from within the scope the handler covers.
You can't just declare a handler and then RETURN TRUE to the best of my knowledge (mgk will be along shortly to correct me.... ) |
I'm propageting from within the scope the handler covers, as a result the handler actually catches the exception, but with no exception details. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jan 16, 2013 6:17 am Post subject: Re: Actual Problem |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rel wrote: |
So if the smtp server is down or the email address is invalid I want to catch it. |
SMTP server down fine & I echo the comments of my associates about how you'd catch that.
How will you know the email address is invalid until some seconds, minutes or days later the receiving email server returns an undeliverable message? I mean if you email billythefish@yahoo.com it's a perfectly valid email address. At some point the Yahoo email server will (presumably!) reply to the reply to address that there's no such user but by that time your SMTP has long since finished. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kash3338 |
Posted: Wed Jan 16, 2013 7:40 am Post subject: |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
rel wrote: |
I'm propageting from within the scope the handler covers, as a result the handler actually catches the exception, but with no exception details. |
Can you please paste the code snippet you are using for this scenario? Also it would be better if you can let us know your flow design. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|