TCP Gateway
1. Overview
This service is used to perform a request to a TCP server. The service writes the input of the _ MessagePart-In _ to a specified TCP socket. The response is put on the _ MessagePart-Out _ .

In the table below, you will find an explanation of these properties.
All attributes with a * are mandatory.
| Attribute | Description |
|---|---|
Name* |
By default, we fill this out with the technical tag, followed by a serial number. Changing the name is optional. |
Enabled |
Set this value to true, if you want this service to be enabled. |
Enable TLS/SSL communication |
Enable SSL or TLS security. |
Enable TLS Verification |
Validates the certificate chain a server presents against the ConnectPlaza truststore and the trust anchors of the JVM. Disable this only to reach an endpoint whose certificate cannot be validated, such as a self-signed one: the connection stays encrypted, but the server is no longer authenticated and the traffic can be intercepted. Defaults to true.Advanced |
SSL Context Support Bean |
A Bean reference to a custom SSL context support Bean. If this field is left empty, a default SSL context support Bean is used. |
Keystore |
Name of the keystore file which is used for secure communication. If the keystore file is not on the classpath, the name should be preceded by |
Keystore Password |
Password for the keystore. |
Truststore |
Name of the truststore file which is used for secure communication. If the truststore file is not on the classpath, the name should be preceded by |
Truststore Password |
Password for the truststore. |
Protocol |
The secure protocol to be used. You can choose between TLS and SSL. By default this is set to TLS. |
Hostname* |
Here, you enter the name or the IP-adress of the TCP Socket. |
Port* |
Here, you enter the port number of the TCP Socket. |
Reply Timeout |
This timeout-value, in ms, is the time in which a Reply is expected to be sent back to the caller. The default value is 10000 ms. |
MessagePart-In |
In this property you can define the name for the MessagePart in the Message, which will be used for the response. In this MessagePart, the value of the param-out parameter will be set before sending the message to the Services. The default value is msgprt0 . |
MessagePart-Out |
This is the name of the MessagePart from the ConnectMessage, which content is written to the file. If ALL-XML is entered here, the entire ConnectMessage is written to the file. By default, the name msgprt0 will be used. |
2. Advanced options
| Attribute | Description |
|---|---|
Serializer Bean Reference |
A Bean reference to a Serializer Bean to be used by the TCP consumer. This Bean needs to be known within the corresponding Interface in the Interface Overview. |
Deserializer Bean Reference |
A Bean reference to a Deserializer Bean to be used by the TCP consumer. This Bean needs to be known within the corresponding Interface in the Interface Overview. |