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

Version 1 Next »

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 (concurrency)

The number of messages the processor consumes at a time

No. The default is value is 1.

Quartz Configuration File Path (quartz.conf)

Quartz configuration file path. This properties file contains the Quartz configuration
parameters for fine tuning the Quartz engine. More details of the configuration can be
found at http://quartz-scheduler.org/documentation/quartz-2.x/configuration/ConfigMain.

No

Cron Expression (cronExpression)

Cron expression to be used to configure the retry pattern

No

Pinned Servers (pinnedServers)A comma-separated list of server names where the message processor should be started, so that when you start the message processor on an ESB server, it is only started on that server if the server name is in this list. This is useful when you have multiple ESB instances in a cluster.  No

Samples

For samples illustrating how to use the message sampling processor, see:

 

  • No labels