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.
Property Label | Description |
---|---|
Port |
Property ID: port Type: 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 |
Property ID: outputBase Type: boolean (Optional) Starts by recording the initial contents of the stream, not just the updates. Default value is false. |
Ephemeral Port File |
Property ID: epFile Type: filename (Advanced) The file that contains the port number, if port is -1. No default value. |
Only Base Content |
Property ID: onlyBase Type: boolean (Advanced) The adapter sends the initial contents of the stream, once. Default value is false. |
SecondDate Format |
Property ID: seconddateFormat Type: string (Advanced) The format string for parsing seconddate values. Default value is %Y-%m-%dT%H:%M:%S. |
MsDate Format | Property ID: msdateFormat Type: string (Advanced) The format string for parsing msdate values. Default value is %Y-%m-%dT%H:%M:%S . |
Field Mapping |
Property ID: permutation Type: permutation Mapping between ESP and external fields. Format is the stream column name equals the database column name to which you are mapping. Multiple mappings are separated by a colon. For example, <stream_columnname>=<database_columnname>:<stream_columnname2>=<database_columnname2>. No default value. |
PropertySet |
Property ID: propertyset Type: string (Advanced) Specifies the name of the property set. Property sets are reusable sets of properties that are stored in the project configuration file. Using these sets allows you to move adapter configuration properties out of the CCL file and into the CCR 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. |