Partilhar via


PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

(Read-only, introduced in MSMQ 3.0.) The PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL property returns the resend interval for the messages in the outgoing queue for which no order acknowledgment has been received.

Property ID

PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL

Type Indicator

VT_UI4

MQPROPVARIANT Field

ulVal

Property Value

This property can return the following values:

  • The resend interval in seconds.

  • A value of 0 is returned if the applicable outgoing queue does not contain the requested information.

  • VT_NULL is returned if the queue is a local queue on the computer.

Remarks

The resend interval is the time interval between the times when messages in the outgoing queue are sent.

The resend interval is determined by the following registry entries.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend13Time

    This entry determines the resend interval for the first to third resend attempts. The default value of this registry entry is 30 seconds.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend46Time

    This entry determines the resend interval for the fourth to sixth resend attempts. The default value of this registry entry is 5 minutes.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend79Time

    This entry determines the resend interval for the seventh to ninth resend attempts. The default value of this registry entry is 30 minutes.

  • HKLM\SOFTWARE\Microsoft\MSMQ\Parameters\SeqResend10Time

    This entry determines the resend interval for the tenth and all subsequent resend attempts. The default value of this registry entry is 6 hours.

To retrieve the resend interval, include PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL in an MQMGMTPROPS structure, call MQMgmtGetInfo, and then examine the value returned.

This property can be retrieved only for an active queue. MQMgmtGetInfo will return a non-specific error (MQ_ERROR) if your application attempts to retrieve this information for a queue that does not contain messages and is not opened by an application.

Equivalent COM Property

When using COM components, you can retrieve the resend interval in the EodResendInterval element of the MSMQCollection object returned by the MSMQOutgoingQueueManagement.EodGetSendInfo method.

Example Code

The following code fragment shows how PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL is specified in arrays that can be used to initialize an MQMGMTPROPS structure.

aMgmtPropId[i] = PROPID_MGMT_QUEUE_EOD_RESEND_INTERVAL;    // Property ID  
aMgmtPropVar[i].vt = VT_NULL;                              // Type indicator  
i++;  

See Also

Management Properties
EodResendInterval
MQMgmtGetInfo
MQMGMTPROPS