SpringSource/spring-xd — pull request #13 by garyrussell (2013-05-22 19:32:37+00:00)
Title: XD-74 Tail Module

3 parameters:

name: filename (absolute path); default: /tmp/xd/input/${xd.stream.name}
lines: Number of lines before the end of the file to tail; default: 0
delay: On platforms that don't wait for a missing file to arrive, the number of milliseconds between attempts; default: 5000

curl -X POST -d "tail --name=/tmp/foo --lines=5 | file --name=bar" http://localhost:8080/streams/tailtest

Wiki page: https://github.com/SpringSource/spring-xd/wiki/DemoTail