I'm trying to use in my custom logstash filter a Java code bundled in .jar. I tried to play with lock_jar which downloads all dependencies of .jar. The .jar and all its dependencies are then added to lib/java and bundled in gem.
When I run my filter in logstash I keep getting could not load Java class 'com.company.app.ClassA'.
I'm looking for an example how to load in jruby a class from any .jar (.jar with dependencies).