Results 1 to 2 of 2

Thread: Spring integration file reading

  1. #1

    Default Spring integration file reading

    How to set the path of directory in below code in window environment.I don't want to use property file.Please let me know is it the right way to provide the directory path like --- directory="C:/WINDOWS/Temp/spring-integration-samples"

    <file:inbound-channel-adapter id="filesIn" channel="input"
    directory="C:/WINDOWS/Temp/spring-integration-samples" prevent-duplicates="true">
    <intoller fixed-rate="1000"/>
    </file:inbound-channel-adapter>

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    What you have should be fine. Are you having some problems?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •