We need more info about transformer-class. Which interface must the class implement? How the class can be loaded into the artemis?
Comment from jmesnil: "We can already add a transform class to a divert. What is not implemented yet is to specify the module's of the transformer class. For the time being it must be a dependency of the org.apache.activemq.artemis module"