TCP sender

TCP Sender

This Producer writes the content of the input ConnectMessage to a specified TCP socket.

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 the producer to be enabled at startup.

Enable TLS/SSL communication

Enable SSL or TLS security.

SSL Context Support Bean

A reference to a custom SSL context support bean. When not set a default SSL context will be used.

Keystore

Name of the keystore file to use for secure communication. If the keystore file is not on the classpath the name should be preceded by file:. Default the keystore configured in connectplaza-agent.properties will be used."

Keystore Password

Password of the keystore.

Truststore

Name of the truststore file to use 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 connectplaza-agent.properties will be used."

Truststore Password

Password of the truststore.

Protocol

Secure protocol to use. The default is TLS. Only effective when Enable SSL/TLS is set to true.

Hostname*

Hostname used to open the endpoint.

Port*

Port number which is used to open the tcp socket.

MessagePart

Name of the MessagePart in a ConnectMessage where the content of the file is stored.

Description

Description of the specific producer. This is for documentation purposes.

Advanced options

Attribute Description
Serializer Bean Reference Reference to a Serializer Bean to be used by TCP producer. This bean should be added in Constructor using 'Beans' option in the menu.
The reference bean must implement the Serializer<byte[]> interface. The default serializer is the ByteArrayCrlfSerializer.