There are lots of examples of how to write transformers etc in java but nothing about filters (except the script type filters, but I want to use a java method).
I'd like to create a custom java filter to filter the payload of a message from a source to a sink.
The examples of filters all refer to an expression.
(How) can I tell the context to execute a java method in a specified class as the expression?