I made some minor changes to servicemix-file so that you can configure a targetService. I have attached the svn patch.
This is my first attempt at this, so please take a look and let me know if everything is ok.
+ private QName targetInterfaceName;
+ private QName targetService;
+ private String targetEndpoint;
and associated methods to the FilePollingEndpoint, although I'm not exactly sure if or how the targetEndpoint and targetInterface are used or set. I used the targetService in my test (in xbean.xml) and could wire up two file serviceunits to copy files from one directory to another.