spring-projects/spring-xd — pull request #343 by dturanski (2013-10-08 19:29:28+00:00)
Title: XD-916:Changed file source to support contents or file reference

The file source produces file contents as bytes by default. It will produce a File object referencing the file if --ref=true
It will translate the contents to a String if --outputType=text/plain (or text/plain;charset=). This also fixes a bug in StreamTestSupport in which SingleNodeMainServer.stop() is never called.