Dynamic Java Action
A dynamic java action is used to execute code from a Java class you have created. A dynamic java action differs from a java action in the fact that your java class does not have to implement any Flux interfaces. Instead, you specify the signature of the method that should receive a callback. The dynamic java action supports calling static methods on a java class, including main() methods.
When configuring the dynamic java action you will need to place your class file into the directory from where you start your engine. In the action properties of the dynamic java action, the class name is the value for listener and the method the value for listener signature.
For example say you created a simple java class like the example below, the value for listener would be HelloWorld and the value for listener signature would be main(String[] args).
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World");
}
}
The argument property is used to pass arguments to your listener signature. The argument count property specifies the number of arguments that are passed into your method. This count is dynamically generated by the listener signature. For example, if your listener signature method takes a string you could add the string you wanted to pass in as the argument.
