Hello all.

I have this configuration:

Code:
<bean name="recursivelyScanner" class="org.springframework.integration.file.RecursiveLeafOnlyDirectoryScanner"></bean>
	<file:inbound-channel-adapter id="filesIn"
        	scanner="recursivelyScanner"	
                directory="file:${java.io.tmpdir}/spring-integration-samples/xsl-input"
		filename-pattern="*.xsl">
	    <integration:poller id="poller" fixed-delay="5000"/>
	</file:inbound-channel-adapter>

        <file:file-to-string-transformer input-channel="filesIn" output-channel="filesOut"/>
	
	<file:outbound-channel-adapter id="filesOut" directory="file:${java.io.tmpdir}/spring-integration-samples/xsl-output"/>
The inboud adapter works great but I don't know how to preserve directory names for the outbound.
Any help?

Kind regards.

Massimo