requestGeneratorScript

Runs a request generater script via JSR223. The event is put as "event" and the channel as "channel". The channel and event objects are a VelocityChannel and VelocityEvent, respectively, the same classes used in the templates for the printlineChannelProcess. The result is expected to be put as "request" by the script as a List or an array of RequestFilter objects. See the scripting tutorial for more information on inlining scripts into a SOD recipe.

Example

<availableDataScript type="jython">
    result = len(request) == len(available)

</availableDataScript>

This consists of

<requestGeneratorScript>

An attribute named type with a value of Any Text Any text
</requestGeneratorScript>

Places this can be found

In requestGenerator there is a choice between all of the following