ConnectionLifetime Property
Instructs the adapter whether or not to leave the connection to the server open.
Data Type
EnumerationPossible Values
Automatic (0)Per Batch (1)
Persisted (2)
Default Value
0Remarks
This property is used when uploading batches of messages to a server that use the same connection properties. In order to minimize connection-related protocol overhead, connections may be persisted with various lifetimes:
Automatic (0 - default) | The connection to the server will be established as needed per each message. When the message transmission is complete, the adapter will disconnect from the server. |
Per Batch (1) | During each batch, the connection to the server will be established as needed per each message. If a connection already exists to the server, that will be used as opposed to creating a new one. At the end of the batch, all such connections will be disconnected. |
Persisted (2) | Connections will be established as needed and stored. If a connection already exists for a server, that will be used as opposed to creating a new one. The connections will not be disconnected until the adapter is terminated by the BizTalk Message Engine. You may use PersistedConnectionTimeout to control how long a persisted connection is kept alive. |
This property is not available in the Receiver.