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/.
Message Sampling Processor
The message sampling processor consumes messages in a message store and sends them to a configured sequence. This process happens in a preconfigured interval. This message processor does not ensure reliable messaging.
Message sampling processor parameters
Following are the additional parameters you can set when adding a message sampling processor:
Processor State (is.active ) | Activate (true ) or Deactivate (false ) | No. The default is Activate (true ). |
Sampling Interval (interval ) | Interval in milliseconds in which processor consumes messages | No. The default value is 1000. |
Sampling Concurrency ( | The number of messages the processor consumes at a time | No. The default is value is 1. |
Quartz Configuration File Path ( | Quartz configuration file path. This properties file contains the Quartz configuration | No |
Cron Expression ( | Cron expression to be used to configure the retry pattern | No |
Samples
For samples illustrating how to use the message sampling processor, see:
Â