Hey Bruce, despite saying I was going to kick this into the long-grass my interest was piqued when you suggested trace route.
Not good news though...
scenario:
1) MQIN.T sending to OpsisDemo - works fine. msg appears on OpsisDemo#DLQ.
2) stop OpsisDemo - sender remains running (expected given that it uses standard default heartbeats and disconnects)
3) restart OpsisDemo - receiver channel does not start (as expected)
4) restart sender channel
5) bye bye message.
This happened even when the sender went into retry mode of its own accord having recognised the receiver was down. That time the message re-appeared on the transmit q, got taken off and then disappeared !!
Here's the trace..
C:\Windows\System32>dspmqrte -q To.OpsisDemo -m MQIN.T -d yes -t high -v all -l yes -rq REPLY.Q
AMQ8653I: DSPMQRTE command started with options '-q To.OpsisDemo -m MQIN.T -d yes -t high -v all -l yes -rq REPLY.Q'.
AMQ8659I: DSPMQRTE command successfully put a message on queue 'OpsisDemo', queue manager 'MQIN.T'.
AMQ8674I: DSPMQRTE command is now waiting for information to display.
--------------------------------------------------------------------------------
Activity:
ApplName: 'es\IBM\MQ\bin64\dspmqrte.exe'
ApplType: WindowsNT
ActivityDesc: 'IBM MQ Display Route Application '
Operation:
OperationType: Put
OperationDate: '20250805'
OperationTime: '11092442'
Message:
MsgLength: 180
MQMD:
StrucId: 'MD '
Version: 1
Report: DiscardMsg |
PassDiscardAndExpiry |
Activity
MsgType: Datagram
Expiry: 600
Feedback: None
Encoding: X'222'
CodedCharSetId: Embedded
Format: 'MQADMIN '
Priority: AsDef
Persistence: Persistent
MsgId: X'414D51204D51494E2E5420202020202049728F6801430240'
CorrelId: X'414D51204D51494E2E5420202020202049728F6802430240'
BackoutCount: 0
ReplyToQ: 'REPLY.Q '
ReplyToQMgr: ' '
UserIdentifier: 'Admin '
AccountingToken: X'16010515000000F5ACDF2FB7EF41B5A9E157FAE903000000000000000000000B'
ApplIdentityData: ' '
ApplType: WindowsNT
ApplName: 'es\IBM\MQ\bin64\dspmqrte.exe'
PutDate: '20250805'
PutTime: '11092442'
ApplOriginData: ' '
QMgrName: 'MQIN.T '
QName: 'To.OpsisDemo '
ResolvedQName: 'OpsisDemo '
RemoteQName: 'anything '
RemoteQMgrName: 'OpsisDemo '
TraceRoute:
RouteDetail: High
RecordedActivities: 1
UnrecordedActivities: 0
DiscontinuityCount: 0
MaxActivities: Unlimited
RouteAccumulation: None
RouteForwarding: IfSupported
RouteDelivery: Yes
--------------------------------------------------------------------------------
Activity:
ApplName: 'es\IBM\MQ\bin64\runmqchl.exe'
ApplType: WindowsNT
ActivityDesc: 'Sending Message Channel Agent '
Operation:
OperationType: Get
OperationDate: '20250805'
OperationTime: '11102291'
Message:
MsgLength: 608
MQMD:
StrucId: 'MD '
Version: 1
Report: DiscardMsg |
Activity
MsgType: Datagram
Expiry: 16
Feedback: None
Encoding: X'222'
CodedCharSetId: 437
Format: 'MQXMIT '
Priority: 0
Persistence: Persistent
MsgId: X'414D51204D51494E2E5420202020202049728F6804430240'
CorrelId: X'414D51204D51494E2E5420202020202049728F6801430240'
BackoutCount: 1
ReplyToQ: 'REPLY.Q '
ReplyToQMgr: 'MQIN.T '
UserIdentifier: 'Admin '
AccountingToken: X'16010515000000F5ACDF2FB7EF41B5A9E157FAE903000000000000000000000B'
ApplIdentityData: ' '
ApplType: QMgr
ApplName: 'MQIN.T '
PutDate: '20250805'
PutTime: '11092442'
ApplOriginData: ' '
EmbeddedMQMD:
StrucId: 'MD '
Version: 1
Report: DiscardMsg |
PassDiscardAndExpiry |
Activity
MsgType: Datagram
Expiry: 16
Feedback: None
Encoding: X'222'
CodedCharSetId: Embedded
Format: 'MQADMIN '
Priority: 0
Persistence: Persistent
MsgId: X'414D51204D51494E2E5420202020202049728F6801430240'
CorrelId: X'414D51204D51494E2E5420202020202049728F6802430240'
BackoutCount: 0
ReplyToQ: 'REPLY.Q '
ReplyToQMgr: 'MQIN.T '
UserIdentifier: 'Admin '
AccountingToken: X'16010515000000F5ACDF2FB7EF41B5A9E157FAE903000000000000000000000B'
ApplIdentityData: ' '
ApplType: WindowsNT
ApplName: 'es\IBM\MQ\bin64\dspmqrte.exe'
PutDate: '20250805'
PutTime: '11092442'
ApplOriginData: ' '
QMgrName: 'MQIN.T '
QName: 'OpsisDemo '
ResolvedQName: 'OpsisDemo '
Operation:
OperationType: Send
OperationDate: '20250805'
OperationTime: '11102291'
Message:
MsgLength: 180
MQMD:
StrucId: 'MD '
Version: 1
Report: DiscardMsg |
PassDiscardAndExpiry |
Activity
MsgType: Datagram
Expiry: 16
Feedback: None
Encoding: X'222'
CodedCharSetId: Embedded
Format: 'MQADMIN '
Priority: 0
Persistence: Persistent
MsgId: X'414D51204D51494E2E5420202020202049728F6801430240'
CorrelId: X'414D51204D51494E2E5420202020202049728F6802430240'
BackoutCount: 0
ReplyToQ: 'REPLY.Q '
ReplyToQMgr: 'MQIN.T '
UserIdentifier: 'Admin '
AccountingToken: X'16010515000000F5ACDF2FB7EF41B5A9E157FAE903000000000000000000000B'
ApplIdentityData: ' '
ApplType: WindowsNT
ApplName: 'es\IBM\MQ\bin64\dspmqrte.exe'
PutDate: '20250805'
PutTime: '11092442'
ApplOriginData: ' '
QMgrName: 'MQIN.T '
RemoteQMgrName: 'OpsisDemo '
ChannelName: 'MQIN1.OpsisDemo '
ChannelType: Sender
XmitQName: 'OpsisDemo '
TraceRoute:
RouteDetail: High
RecordedActivities: 2
UnrecordedActivities: 0
DiscontinuityCount: 0
MaxActivities: Unlimited
RouteAccumulation: None
RouteForwarding: IfSupported
RouteDelivery: Yes
--------------------------------------------------------------------------------
AMQ8652I: DSPMQRTE command has finished.