Socket (As Server) XML Output Adapter

Adapter type: xml_sockin_out. The Socket (As Server) XML Output adapter receives data in Event Stream Processor format from the outgoing network adapters.

Another program initiates the connection and then receives the data from the output adapter.

This adapter can be configured to send only the base state of the stream. The socket closes after sending the base state of the stream but can be repeatedly reconnected.

If you use the CCL ATTACH ADAPTER statement to attach an adapter, you must supply the adapter type. The type for this adapter is xml_sockin_out.

Property Label Property ID Type Description
Port port int (Required) Server port. If port is set to -1, the adapter reads from the Ephemeral Port File. Default value is 12345.
Include Base Content outputBase boolean (Optional) Starts by recording the initial contents of the stream, not just the updates. Default value is false.
Ephemeral Port File epFile filename (Advanced) The file that contains the port number, if port is -1. No default value.
Only Base Content onlyBase boolean (Advanced) The adapter sends the initial contents of the stream, once. Default value is false.
Date Format dateFormat string (Advanced) The format string for parsing date values. Default value is %Y-%m-%dT%H:%M:%S.
Timestamp Format timestampFormat string (Advanced) The format string for parsing timestamp values. Default value is %Y-%m-%dT%H:%M:%S.
Field Mapping permutation permutation (Advanced) Mapping between the in-platform and external fields. No default value.

PropertySet

propertyset string

(Advanced) Specifies the name of the property set (a group of properties and values) you want to use from the project configuration file. If you specify the same properties in the project configuration file and the ATTACH ADAPTER statement, the values in the property set override the values defined in the ATTACH ADAPTER statement. No default value.

Known limitations:
  • Supports only one network connection at a time.