Socket (As Client) XML Output Adapter

Adapter type: xml_sockout_out. The Socket (As Client) XML Output adapter sends data in Event Stream Processor format to the outgoing network adapter.

The adapter initiates a connection with another program and then sends the data. If the connection is broken, the adapter retries the connection.

You can configure this adapter to send only the base state of the stream. The adapter sends data once and exits, but can be restarted later.

If you use the CCL ATTACH ADAPTER statement to attach an adapter, you must supply the adapter type.

Property Label Property ID Type Description
Server host string (Required) The server host name. Default value is localhost.
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) Records the initial contents of the stream and not just the updates. Default value is false.
Ephemeral Port File epFile filename (Advanced) The file that contains the server port number, if port is -1. No default value.
Retry period, s retryperiod uint (Advanced) The time period for attempting to re-establish an outgoing connection, in seconds. Default value is 1.
Only Base Content onlyBase boolean (Advanced) Sends only the initial contents of the stream. 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) Maps the internal ESP fields to the application or diplay fields. Default value is %Y-%m-%dT%H:%M:%S.

PropertySet

propertyset string

(Advanced) Specifies the name of the property set 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.