meta data for this page
  •  

Useful tips for the spring framework inside SAP commerce

Merge two lists

You can add elements to the spring lists and maps defined by SAP commerce using the following code:

<bean id="customRestTemplateCreatorMergeDirective" depends-on="integrationRestTemplateStrategiesList"
          parent="listMergeDirective" >
        <property name="add" ref="customRestTemplateCreator" />
    </bean>

This code adds the custom rest template creator to the original list of rest template strategies.

Discussion

Enter your comment. Wiki syntax is allowed: