5.8. WSRP integration configuration

WSRP is integrated into GateIn thanks to the extension mechanism.

Extended Navigation

The extension artifact defines an extra navigational node, whose page contains the WSRP Admin portlet.


<page-nodes>
  <node>
     <uri>wsrpConfiguration</uri>
     <name>wsrpConfiguration</name>
     <label>WSRP</label>
     <page-reference>group::/platform/administrators::wsrpConfiguration</page-reference>
  </node>
</page-nodes> 

WSRP integration

As the extension package is deployed, the WSRPServiceIntegration service component is started and that triggers the injection of the WSRP infrastructure (persistent data, web service endpoints, and more) into GateIn.


<component>
      <key>org.gatein.integration.wsrp.WSRPServiceIntegration</key>
      <type>org.gatein.integration.wsrp.WSRPServiceIntegration</type>
      <init-params>
         <value-param>
            <name>producerConfigLocation</name>
            <description>Location of the default producer configuration file</description>
            <value>${gatein.conf.dir:classpath:/conf}/wsrp-producer-config.xml</value>
         </value-param>
         <value-param>
            <name>consumersConfigLocation</name>
            <description>Location of the default consumers configuration file</description>
            <value>${gatein.conf.dir:classpath:/conf}/wsrp-consumers-config.xml</value>
         </value-param>
         <value-param>
            <name>consumersInitDelay</name>
            <description>Time (in seconds) after the start of the WSRP extension, waited before the consumers are
               started
            </description>
            <value>2</value>
         </value-param>
      </init-params>
</component>

See also

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus