This documentation is for WSO2 Enterprise Service Bus version 4.9.0 . View documentation for the latest release.

All docs This doc
Skip to end of metadata
Go to start of metadata

The message sampling processor consumes messages from a specified message store and sends the messages to a sequence at a configured interval. This message processor does not ensure reliable messaging.

Message sampling processor parameters

Following are the parameters you can set when adding a message sampling processor:

Parameter NameDescriptionRequired
NameThe name of the message sampling processor.Yes
Message Processor ProviderThe name of the message processor provider.Yes
SequenceThe sequence to which the message sampling processor injects consumed messages.Yes
Message StoreThe message store from which the message sampling processor consumes messages.Yes
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

Samples

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

 

  • No labels