Announcement Announcement Module
Collapse
No announcement yet.
Overriding FileTargetAdapter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Overriding FileTargetAdapter

    Hello All,

    I was trying that file copy sample, is there any way to override the default FileTargetAdapter class, basically i want to avoid deletion of files from the source and also have a different file name generator class
    but i could not set the custom file name generator by any means

    Thanks

  • #2
    Could you please open an issue in JIRA for the configurability of the mapper and filename generator?

    Also note that there are some related changes on the M4 roadmap: http://jira.springframework.org/browse/INT-185
    http://jira.springframework.org/browse/INT-188

    By the way, you can always set the filename in the MessageHeader. The key is FileNameGenerator.FILENAME_PROPERTY_KEY.

    Thanks,
    Mark

    Comment


    • #3
      Ok Mark, i'll create a JIRA issue.

      Thanks

      Comment


      • #4
        Hi Mark,
        i created an issue, but mistakely in Spring Batch(scrolled somehow i think). Can you please move it to spring integration.

        http://jira.springframework.org/browse/BATCH-602

        Thanks

        Comment

        Working...
        X