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 3 Next »

A message store is used to temporarily store messages before they are delivered to their destination by a message processor. This approach is useful for serving traffic to back-end services that can only accept messages at a given rate, whereas incoming traffic to the ESB arrives at different rates. To store incoming traffic in a message store, use the Store mediator, and then use a message processor to deliver messages to the back-end service at a given rate.

You can implement your own message store by implementing the MessageStore interface and adding the store to the configuration. The ESB ships with the following message store implementations:

Message Store Configuration

<messageStore name="string" class="className">
  <parameter name="string" > "string" </parameter>\*
</messageStore>

You enable a message store in the ESB configuration by adding the <messageStore> element. This element is a top-level entry in the configuration and must have a unique name. The class attribute value is the fully qualified class name of the underlying message store implementation, and the parameters section is used to configure the parameters that are needed by that implementation.

You can add, edit, and delete message stores in the Management Console.

  • No labels