TCP Transmitter
Setting the TCP Adapter Configuration Properties for a Dynamic Send Port
A dynamic send port does not provide any transport configuration options in BizTalk Explorer because it is expected that these properties will be provided with the context properties associated with the message. These properties can be set in a custom pipeline or in an orchestration. To set message configuration properties in an orchestration you can do the following:
- Add a Construct Message shape to your orchestration.
- Configure the Construct Message shape to construct a new message. (for example Message_2)
- Add a Message Assignment shape to the Construct Message shape.
- Add code to the Message Assignment shape to initialize the message that you constructed and to set the appropriate configuration properties for the message.
Configuring the TCP Send Port with the BizTalk Server Administration Console
To configure the send port by using the BizTalk Server Administration console, use the following procedure:
To configure variables for a TCP send port:
- In the BizTalk Server Administration console, create a new send port or double-click an existing send port to modify it. For more information, see How to Create a Send Port. Configure all of the send port options and specify nsoftware.TCP v4 for the Type option in the Transport section of the General tab.
- On the General tab, in the Transport section, click the Configure button next to Type.
- In the nsoftware.TCP v4 Transport Properties dialog box, use the following properties to:
AfterSend A set of commands to be executed after DataToSend is sent.
Type: xs:string Default Value: ""BeforeSend A set of Tcp commands to be executed before DataToSend is sent.
Type: xs:string Default Value: ""ConnectionLifetime Instructs the adapter whether or not to leave the connection to the server open.
Type: xs:int Default Value: 0DataToSend The data to be sent to the server.
Type: xs:string Default Value: ""
NOTE: This property must be specified.ErrorOnTimeout If enabled, reaching the timeout will not throw an error.
Type: bool Default Value: trueExpectedResponse The expected response.
Type: xs:string Default Value: "\\r\\n"ExpectedResponseExpression A regular expression to match the response returned by the server.
Type: xs:string Default Value: ""Firewall A set of properties related to firewall access.
Type: Firewall Default Value: nullMaxPersistentConnections The maximum number of simultaneous persistent connections when sending.
Type: xs:int Default Value: 1MaxThreads The maximum number of threads that the adapter may consume.
Type: xs:int Default Value: 20MaxTransmissionBatchSize The maximum number of messages that can be sent in a single batch.
Type: xs:int Default Value: 1Other Defines a set of configuration settings to be used by the adapter.
Type: xs:string Default Value: ""Port The remote port for the Server (default is 23).
Type: xs:int Default Value: 23Response The response from server.
Type: xs:string Default Value: ""RuntimeLicense Specifies the adapter runtime license key.
Type: xs:string Default Value: ""Server The address of the Server.
Type: xs:string Default Value: ""
NOTE: This property must be specified.SSLAcceptServerCert Instructs the adapter to unconditionally accept the server certificate that matches the supplied certificate.
Type: Certificate Default Value: nullSSLCert The certificate to use for client authentication during the SSL handshake.
Type: Certificate Default Value: null
NOTE: The digital id must have a private key associated with it.SSLStartMode Determines how the adapter starts the SSL negotiation.
Type: xs:int Default Value: 3Timeout A timeout for the adapter.
Type: xs:int Default Value: 60TransmitBatchMode How the transmitter processes batches.
Type: xs:int Default Value: 0TransportLog Tells the adapter where and how to report information about its operations.
Type: Log Default Value: nullURI The Uniform Resource Identifier (URI) of the send port or receive location.
Type: xs:string Default Value: "" - Click OK and OK again to save settings.