Designer 10.7 | webMethods Service Development Help | Working with Publishable Document Types | About the Time-to-Live for a Publishable Document Type | Setting the Time to Live for a Publishable Document Type
 
Setting the Time to Live for a Publishable Document Type
Keep the following points in mind when setting the time-to-live for a publishable document type:
*You can only change the time-to-live for an IS document type if you own the lock on the IS document type (or you have it checked out) and you have write permission to the IS document type.
*Changing a webMethods Messaging property causes the publishable document type to be out of sync with the associated provider definition. For information about synchronizing document types, see About Synchronizing Publishable Document Types.
*To set a time-to-live value for a publishable document type
1. In Package Navigator view of the Service Development perspective, double-click the publishable document type for which you want to set a time to live.
The document type opens in the Document Type Editor window.
2. In the Properties view, under webMethods Messaging, next to the Discard property, select one of the following:
Select...
To...
False
Specify that the messaging provider should never discard instances of this publishable document type.
True
Specify that the messaging provider should discard instances of this publishable document type after the specified time elapses.
In the Time to live property, specify the time-to-live value and units in which the time should be measured.
3. Select File > Save.