Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To engage a module at service level

Add the engageModules service the engagedModules service parameter to the proxy service and specify the modules you want to engage as comma separated values. For example, if you need to engage the rampart module and the sample-logging module, add the following parameter to the proxy service:

Code Block
languagexml
<parameter name="engagedModules">rampart,sample-logging</parameter>

Following is a sample proxy service where the engagedModules parameter is specified to engage the sample-logging module:

Code Block
languagexml
 <proxy xmlns="http://ws.apache.org/ns/synapse"
      		name="Pass"
      		transports="http,https"
      		statistics="disable"
      		trace="disable"
      		startOnLoad="true">
  	<target>
     		<outSequence>
        		<send/>
     		</outSequence>
     		<endpoint>
        		<address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
     		</endpoint>
  	</target>
 	<parameter name="engagedModules">sample-logging</parameter>
 	<description/>
</proxy>

To engage a module on a global level 

...