CHANNEL STATES:
Channel states are of 5 types
• Running
• Inactive
• Retrying
• Stopped
• Paused(receiver channel)
1. RUNNING:
Before going to Running state the status will be initialization and binding
Initialization:-channel will initiate the listener Binding:-sender channel binds with receiver, after
that it Goes to running state
2. INACTIVE:
We have one attribute called disconnect interval (DISCINT) with 6000 milli
seconds (default) and it can be changed as of our convenience. If the channel is idle for a
particular period defined in disconnect interval, the channel will go to inactive state.
3. RETRYING:
The channel goes to retrying state if the other side queue manager will not be
available, network issue, may be listener not running, may be receiver channel is in pause state,
and may be the receiver channel transportation type is different…. Etc.
4. PAUSED STATE:
This state is applicable for receiver (RCVR) channel. Paused state occurs
when the receiving queue is full.
Note:
1. If we do any changes to the channels, listeners, queue manager, to effect the changes
we need to stop and then start them.
2. Before starting a channel listener should be in active / running, we can check by pinging
the channel.
3. Ping is used to check whether the receiver is in active state or not.
Syntax: PING CHANNEL (CHANNEL NAME)
Channel states are of 5 types
• Running
• Inactive
• Retrying
• Stopped
• Paused(receiver channel)
1. RUNNING:
Before going to Running state the status will be initialization and binding
Initialization:-channel will initiate the listener Binding:-sender channel binds with receiver, after
that it Goes to running state
2. INACTIVE:
We have one attribute called disconnect interval (DISCINT) with 6000 milli
seconds (default) and it can be changed as of our convenience. If the channel is idle for a
particular period defined in disconnect interval, the channel will go to inactive state.
3. RETRYING:
The channel goes to retrying state if the other side queue manager will not be
available, network issue, may be listener not running, may be receiver channel is in pause state,
and may be the receiver channel transportation type is different…. Etc.
4. PAUSED STATE:
This state is applicable for receiver (RCVR) channel. Paused state occurs
when the receiving queue is full.
Note:
1. If we do any changes to the channels, listeners, queue manager, to effect the changes
we need to stop and then start them.
2. Before starting a channel listener should be in active / running, we can check by pinging
the channel.
3. Ping is used to check whether the receiver is in active state or not.
Syntax: PING CHANNEL (CHANNEL NAME)
Comments