TCP Gateway

TCP gateway

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.

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 “file:”. By default the keystore configured in myesb-connect.properties is used.

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 “file:”. By default the truststore configured in myesb-connect.properties is used.

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.

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 consumerr. This Bean needs to be known within the corresponding Interface in the Interface Overview.