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 » Failure Handling - Best Practices

Post new topic  Reply to topic
 Failure Handling - Best Practices « View previous topic :: View next topic » 
Author Message
santy
PostPosted: Mon Sep 28, 2009 2:22 am    Post subject: Failure Handling - Best Practices Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Hi,

From where can I get the documentation of best practices on Failure Handling? Or How can we achive a good failure handling in case of normal message failures or in case of environmental problems through WMB 6.1?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Sep 28, 2009 3:32 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.

AFAIK, there is no official IBM docs/papers on this sometimes thorny subject.

Every site/system will have different requirements for error handling.

These can range from 'don't care as every message is guaranteed to be error free and no the database won't go down' to
Log everything multiple times and in the event of an error tell the world that something bad has gone wrong and if is a coding/design error then send an electric shock to the developer who coded it badly' (Ok, I'm joking about the last part)
There are no hard & fast rules for this.

That said, you might like to start with the following:-

- Code every flow to use a common error handling procedure
- Disable Automatic DB Errors causing an Exception (This may cause some discussion but it is the way I prefer) and manually check the status of every DB operation.
- In the error handling, package up the original message and the exception into a .zip file and email it to someone/everyone(not simple to do)
- Add code so that Tivoli, QPasa! etc can be used for error notification (if these tools are used in that environment)

I'm sure there are more.
It is very much a 'roll your own' thing.

For existing sites then you are pretty well bound to use their existing procedures. If you are working on a new site then you can possibly dictate the way things are done.
_________________
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
Luke
PostPosted: Mon Sep 28, 2009 4:31 am    Post subject: Reply with quote

Centurion

Joined: 10 Nov 2008
Posts: 128
Location: UK

There is a redbook called something like "bulletproofing message flows" which could be a good starting point for you. It's pre-V6.1, but I'd imagine most of it would still be applicable.

As smdavies says, there are lots of different approaches, which will be dictated by your requirements, monitoring software, personal preferences etc.
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Mon Sep 28, 2009 5:13 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

You might also want to look at this:
ID08: WebSphere Message Broker - Enterprise Exception Handling Pattern http://www-01.ibm.com/support/docview.wss?uid=swg24022791
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 » Failure Handling - Best Practices
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.