The Bean Shell plugin allows one to write custom Java code to achieve what other process tools may not.
Figure 1: Bean Shell Properties