Microsoft KB Archive/328211

= INFO: Registry Key to Change the Default ExpiresAT Value for BizTalk Reliable Messages =

Article ID: 328211

Article Last Modified on 6/4/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Standard Edition
 * Microsoft BizTalk Server 2002 Standard Edition

-



This article was previously published under Q328211



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
Microsoft BizTalk Server Reliable Messaging is a feature of the BizTalk Framework 2.0 protocol that supports guaranteed, one-time-only delivery of documents in heterogeneous environments across the Internet. In accordance with the BizTalk Framework specification, documents that are wrapped in a Reliable SOAP envelope are automatically configured with an ExpiresAT value that marks the time at which the document is no longer considered valid for delivery.

The ExpiresAT value for a Reliable document is determined by the following formula:

expiration time = total tries * retry interval * 2

The total number of tries is the number of configured retries plus one for the first try. For example, if you configure a Messaging Channel with four retries at a two-minute interval, the document expiration time is the following:

(4 + 1) tries * 2 minutes * 2 = 20 minutes

When the ExpiresAT value of a Reliable document has been exceeded, you cannot resubmit the document for transmission to a trading partner. Under certain circumstances, you may want to override the default calculated ExpiresAT value for Reliable messages that you send from your BizTalk Server. To override the default calculated ExpiresAT value for Reliable messages on the BizTalk Server computer that sends the messages, change the registry key as described in the &quot;More Information&quot; section of this article.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

 Start Registry Editor. Locate, and then click the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BTSSvc

 On the Edit menu, click Add Value, and then add the following registry values to modify the ExpiresAT value for Reliable documents:

Value name: BTFMsgTTL

Data type: REG_DWORD

Radix: Decimal

Value data: 

 Quit Registry Editor.</ol>

NOTE: The unit of measure for the BTFMsgTTL registry key is minutes. Therefore, a value of 43200 sets the ExpiresAT value 30 days from the day that the document is originally submitted.

Keywords: kbinfo KB328211

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.