Author |
Message
|
solomon_13000 |
Posted: Thu Sep 18, 2008 7:23 pm Post subject: RESET CHANNEL |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
I found an MQSC command to reset a channel. When do we actually reset a channel and why do we specify the seqnum when resetting a channel?. Is it for the purpose of setting the importance of a message?. In other a sender can decide which message should arrive to the receiver earlier. In terms of the sequence number, how do we determent is it 1 or 5 or?. Is it base on the importance of the message that the sender is sending to the receiver?. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 18, 2008 8:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The intercommunications manual will have an answer for your questions  _________________ MQ & Broker admin |
|
Back to top |
|
 |
solomon_13000 |
Posted: Fri Sep 19, 2008 5:29 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
So a message is assigned a sequence number to ensure that the receiver receives the message in the order in which it is sent by the sender. The sequence number is generated at the sender end of the channel. This means that the receiver will retrieve the messages from the local queue in a sequential order. But then if suppose I change the sequence of the messages sent to the receiver by issuing the RESET CHANNEL command what will be the possible impact?. |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 19, 2008 6:57 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
solomon_13000 wrote: |
So a message is assigned a sequence number to ensure that the receiver receives the message in the order in which it is sent by the sender. The sequence number is generated at the sender end of the channel. This means that the receiver will retrieve the messages from the local queue in a sequential order. But then if suppose I change the sequence of the messages sent to the receiver by issuing the RESET CHANNEL command what will be the possible impact?. |
Are you getting confused with message groups or segmented messages?
Channel sequence numbers are easy to understand - each end of the channel maintains a count of messages passed between each end - and have nothing to do with messages being retrieved from a local queue at the receiving end. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Sep 19, 2008 7:53 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
The sequence wrap field is used at both ends of a channel. Each MCA increments this field by one for each message sent/received. The channel ends compare these fields to detect (possible) loss of messages. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Fri Sep 19, 2008 9:27 am Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
So using DISPLAY CHSTATUS I can see the channel sequence number. Using this sequence number we can determent if the messages are lost. Is this applied to only non persistant messages?. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Sep 19, 2008 10:56 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9472 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
Using this sequence number we can determent if the messages are lost. |
Yes and No.
No: This is how the message channel agents determine if messages are lost.
Yes: If the sender side sequence number is 1000, and the receiver side sequence number is 500, the mca's will think that 500 messages were not successfully delivered.
Quote: |
Is this applied to only non persistant messages?. |
This applies to all messages that are to be sent across a channel. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
solomon_13000 |
Posted: Fri Sep 19, 2008 6:40 pm Post subject: |
|
|
Master
Joined: 13 Jun 2008 Posts: 284
|
So if the sequence number at the channel ends are not the same, therefore the channel will stop. |
|
Back to top |
|
 |
|