JBoss.orgCommunity Documentation

MentionsProcessor

This plugin allows creating a link to a user profile when the user is mentioned in the activity content.

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>MentionsProcessor</name>
      <set-method>addProcessorPlugin</set-method>
      <type>org.exoplatform.social.core.processor.MentionsProcessor</type>
      <init-params>
        <value-param>
          <name>priority</name>
          <description>priority of this processor (lower are executed first)</description>
          <value>2</value>
        </value-param>
      </init-params>
    </component-plugin>

In which:

Name Possible value Default value Description
priority integer 2 The priority of this processor. The lower priority level is executed first.