Show TOC

ESP to Map Formatter Module ConfigurationLocate this document in the navigation structure

The ESP to Map formatter converts a row from ESP to a map message string object. Set values for this formatter in the adapter configuration file.

Table 1:
XML Element Description
PrependStreamNameOpcode

Property ID: PrependStreamNameOpcode

Type: boolean

(Optional) If set to true, the adapter inserts the stream name into the field _ESP_STREAM_NAME, and the opcode into the field _ESP_OPS.

ValueAsString

Type: boolean

(Advanced) If set to true, the adapter converts all ESP data type into text string. The default value is true.

If set to false, use the CustomFieldsType parameter to define custom data type mapping.

CustomFieldsType

Type: string

(Advanced) A mapping of ESP data type and external data type. Specify the conversion of ESP data type to JMS Map data type in the following format: <esp_column_name1>=<custom_data_type>. For example, espColumn1=int. When there are multiple pairs in a string, each pair is delimited by a colon ( : ). For example, espColumn1=int:espColumn2:long:espColumn3=string. The column name is case sensitive and must exist in the schema of the attached project, or the pair will be ignored. Valid data types are string, int, short, long, boolean, float, double, byte, and bytes; they are case insensitive. See Data Type Mapping for JMS Map Formatter for a mapping conversion table listing supportedESP to JMS Map message data types.