Show TOC

Socket (As Client) XML Output AdapterLocate this document in the navigation structure

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 Description
Server

Property ID: host

Type: string

(Required) The server host name. Default value is localhost.

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) Records the initial contents of the stream and not just the updates. Default value is false.

Ephemeral Port File

Property ID: epFile

Type: filename

(Advanced) The file that contains the server port number, if port is -1. No default value.

Retry period, s

Property ID: retryperiod

Type: uint

(Advanced) The time period for attempting to re-establish an outgoing connection, in seconds. Default value is 1.

Only Base Content

Property ID: onlyBase

Type: boolean

(Advanced) Sends only the initial contents of the stream. 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

(Advanced) Maps the internal ESP fields to the application or diplay fields. Default value is %Y-%m-%dT%H:%M:%S.

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.