2.2.2.11. Template Params Processor

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

This plugin uses the value in the template parameter of the activity and replaces the title and body of the activity with the template parameter of this activity.

To use the plugin in the component configuration, you must use the following target-component:


<target-component>org.exoplatform.social.core.manager.ActivityManager</target-component>

Sample configuration:


<component-plugin>
  <name>TemplateParamsProcessor</name>
  <set-method>addProcessorPlugin</set-method>
  <type>org.exoplatform.social.core.processor.TemplateParamsProcessor</type>
  <init-params>
    <value-param>
      <name>priority</name>
      <value>1</value>
    </value-param>
  </init-params>
</component-plugin>

In which:

NamePossible valueDefault valueDescription
priority integer 1The priority of this processor. The lower priority level is executed first.
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus