How can I create xslt-transformer with JAVA config in Spring integration?

Viewed 1969

I have the following xslt-transformer in Spring-Integration. How can I do the same configuration with Java Config?

<si-xml:xslt-transformer input-channel="input" output-channel="output"
                         xsl-resource="classpath:/test.xsl"
                         result-transformer="resultToDoc"/>
2 Answers
Related