Resetting channel synchronization
If synchronization errors are reported because the message counts at the two ends of the channel are not in synchronization, we can reset the synchronization.
About this task
The Message Channel Agents (MCAs) at the two ends of a channel each keep count of the number of messages sent through the channel so that synchronization between the two ends of the channel can be maintained. Synchronization can be lost, for example, when the channel definition at one end is deleted and then re-created. The re-created channel definition resets its count to 0, and if a queue manager attempts to use the channel, synchronization errors are reported because the two ends of the channel are not in synchronization.
To fix problems with channel synchronization, we must reset the count of the channel definition that was not re-created.
To reset the count, complete the following steps.
Procedure
- In the Content view, right-click the channel definition that was not re-created, then click Reset The Reset dialog opens.
- In the Reset dialog, type the sequence number to which we want to reset the channel definition:
- If the other end of the channel has been deleted and then re-created, type 0.
- If the channel is a sender or server channel, type any number from 0 to the value defined in the Sequence number wrap attribute of the channel (the default value is 999,999,999). The new message sequence number is sent automatically to the other end of the channel, which then sets its number to match the next time that the channels are started.
- For all other channel types, type the current sequence number of the other end of the channel. To find the current sequence number of the other end of the channel, right-click the name of the channel, then click Status
- Click Yes to reset the channel definition to the message count that you typed in the Message Sequence Number field.
Results
The two ends of the channel have the same message count and so are synchronized.
For more information, see Distributed queueing and clusters.
Parent topic: Maintaining intercommunications along message channels
Related tasks
Related reference