...
A Scripted Consumer is instantiated using one of two static factory methods (rather than created directly by invoking a Java constructor), so they have a different syntax in Spring. You can refer to the javadoc (ConsumerScriptedConsumer, BiConsumer ScriptedBiConsumer) for complete details.
Expand | ||
---|---|---|
| ||
If provided with one parameter, this is the script to be executed. If two parameters are the provided, then the first is the name of the (installed) JSR-223 lanuage and the second is the script.
|
...