Results 1 to 4 of 4

Thread: Overriding FileTargetAdapter

  1. #1
    Join Date
    Nov 2007
    Location
    San Francisco USA
    Posts
    34

    Default 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. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,854

    Default

    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

  3. #3
    Join Date
    Nov 2007
    Location
    San Francisco USA
    Posts
    34

    Default

    Ok Mark, i'll create a JIRA issue.

    Thanks

  4. #4
    Join Date
    Nov 2007
    Location
    San Francisco USA
    Posts
    34

    Default

    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

Posting Permissions

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