This project demonstrates with a working example of the JRuby optional component. It consists of a single channel and workflow that triggers when a GET request is sent to http://localhost:8081/jruby1.
The is used to call a Ruby script when handling a message (myjsonpath.rb) and on different lifecycle events (lifecycle.rb)
The config is using a variables.properties to configure:
workingDir=(Absolute path of the working directory)
jrubyHome=(Absolute path of the jruby installation)