This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

With the Message Store Mediator, you can store messages in a given Message Store.

The Store mediator is a content aware mediator.


Syntax

<axis2ns1:store xmlns:axis2ns1="http://ws.apache.org/ns/synapse" messageStore="string" sequence="string"></axis2ns1:store>

UI Configuration

  • Message Store - Select the message store where messages will be stored. You must add the message store to the ESB before you can select it here.
  • On Store Sequence - The Sequence that will be called before the message gets stored. It can be chosen either from Configuration or Governance Registry. Refer to more information about registries in the Working with the Registry.

Example

A proxy service can be configured with the Store mediator as follows to save messages in a message store named JMSMS.

<proxy name="SimpleProxy" transports="http https" startonload="true" trace="disable">
   <target>
      <insequence>
         <property name="FORCE_SC_ACCEPTED" value="true" scope="axis2" type="STRING"></property>
         <property name="OUT_ONLY" value="true" scope="default" type="STRING"></property>
         <store messagestore="JMSMS"></store>
      </insequence>
   </target>
</proxy>

 

 

  • No labels