pfx-model

This component is used for data mapping. You can now use any mapper implementation (integrate, loaddata, multilevelMapper) not only together with pfx-api:loaddata or pfx-api:integrate but also in any other part of a route.

Attributes

Description

Default

Required

Attributes

Description

Default

Required

mapper

Name of the mapper .

 

yes

truncateAttributes

Specifies whether the values of the mapper attributes are truncated if they exceed the maximum length of the attribute. There are two options: YES and NO.

  • The default value is YES, and values are truncated to 255 characters.

  • If you set it to NO, values will be truncated only if their length exceeds 10,000,000 characters or a custom value configured by integration.mappers.extended.attributes.max.size.

YES

no

 

A typical use case is when you just need to transform data for further export to CSV, JSON etc.

<to uri="pfx-model:transform?mapper=productMapper"/>

 

IntegrationManager version 5.8.0