Announcement Announcement Module
Collapse
No announcement yet.
File inboud adapter recurse directory and outbound adapter preserve directory names Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • File inboud adapter recurse directory and outbound adapter preserve directory names

    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
Working...
X