|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Ignore sequence number errors |
« View previous topic :: View next topic » |
Author |
Message
|
romudd |
Posted: Thu May 13, 2004 6:40 am Post subject: Ignore sequence number errors |
|
|
Apprentice
Joined: 12 Aug 2003 Posts: 31 Location: Sao Paulo - Brazil
|
Hello,
In some situations, it's necessary to use a spare server, or move the environment to a Backup site. In our case, it happens very often (there is no particular problem, it's "part of our business"), and sometimes it's necessary to move many queue managers at once, in a short period of time.
We can easily reset the seqnum of our Sender channels, and the remote Receivers will accept it as their new seqnum.
But my receivers cannot be started without human intervention, because they don't know the correct sequence number, and the remote sender was not resetted. The remote qms don't belong to us, and we have to spend a lot of time in phone calls, finding the person who will help us, resetting both sides of the channel, etc
So that's my question: is there a way to have the receivers channels to just accept the sequence number of the arriving messages, or automatically reset to this number? The application executes some checkings on the messages, so maybe we can "give up" the channel sequence control.
Thanks,
Rodrigo |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 13, 2004 6:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't personally know of a way to ignore the channel sequence number, but that doesn't mean there isn't one.
I'd thought that the error messages reporting the sequence number problem included the expected sequence number.
Yeah, doing a little digging
Messages manual wrote: |
AMQ9505 Channel sequence number wrap values are different.
Explanation: The sequence number wrap value for channel '&3' is &1, but the value specified at the remote location is &2. The two values must be the same before the channel can be started.
User Response: Change either the local or remote channel definitions so that the values specified for the message sequence number wrap values are the same. |
So, if you get this message on your side, you sould be able to parse it enough to pull out the &2 value, which will be what you need to reset it to. Then you can put this into a reset channel command.
This is probably the manual process you are following now. What I'm suggesting is writing a program to do this, and include it as part of your QM startup scripting. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Fri May 14, 2004 8:55 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
I agree with Jeff that this is the only way to do what you want.
Be careful when and where you automatically reset sequence numbers with no human intervention, because another way of asking
"How do I automatically reset sequence numbers?"
is
"How do I automatically screw up one of the major ways that MQ assures messages get delivered once and only once?" _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|