Author |
Message
|
inder |
Posted: Wed Aug 13, 2003 12:06 pm Post subject: Messages lost or roll back on a Broker failure |
|
|
Apprentice
Joined: 24 Mar 2003 Posts: 49 Location: USA
|
HI All,
I have an issue where I have a huge set of messages being processed by various message flows. Due to a power surge/UPS Failure our production servers went down for a short period of time.
I donot have the transaction control setup as we are using the DB2 on AS400.
Now my question is what happens to the message that is being processed by the message flow when the systems were just powered off or ingeneral if the broker crashes.
Any quick reply will be greatly appreciated.
regards
Inder |
|
Back to top |
|
 |
kirani |
Posted: Wed Aug 13, 2003 12:31 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Inder,
It depends on your error handler for your message flows. Can you explain your error handler? Are your messages persistent? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
inder |
Posted: Wed Aug 13, 2003 12:42 pm Post subject: |
|
|
Apprentice
Joined: 24 Mar 2003 Posts: 49 Location: USA
|
Hi Kiran,
All the messages are persistent
Here i have a different error handling setup for different types of errors and different message flows. But the errors finally end up either on a database table, on specified error queues and some cases backed up to the input queue.
In this case the scenario is due to a power failure all production servers gone down. So we donot know the state of message flow at the time of power failure.
What I like to know is in this case if the message flow is in the middle of processing the message and the server crashes what happens to the message being processed. will it be lost totally? or what will happen to the message
regards
Inder |
|
Back to top |
|
 |
kirani |
Posted: Wed Aug 13, 2003 1:31 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Since these are persistent messages, they will not be lost unless your message flow is designed to discard them. We don't know where exactly (out, catch, failure terminal) your message was at the time of power failure. I think your message will be rollbacked to the input queue and the Backout count would be incremented for these messages in the MQMD header. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
inder |
Posted: Wed Aug 13, 2003 1:56 pm Post subject: |
|
|
Apprentice
Joined: 24 Mar 2003 Posts: 49 Location: USA
|
Thanks Kiran. Thats what the problem for me also. I dont know what the state of message flow is when there is a server crash.
Any way I will try to figure out by doing some tests by simulating such conditions.
regards
Inder |
|
Back to top |
|
 |
EddieA |
Posted: Wed Aug 13, 2003 2:29 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
On a Broker crash the state of the message will depend on it's persistence and also the Transaction Mode setting in the Input node.
Remember, WMQI is just an MQ application and behaves like ANY other. There's nothing magic about it.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|