Announcement Announcement Module
Collapse
No announcement yet.
Add a date filter in a composite filter of a file-inbound-channel-adapter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add a date filter in a composite filter of a file-inbound-channel-adapter

    Hi all,

    I am using a file-inbound-channel-adapter to parse files in a directory. I only get the .xml ones so i have a regex filter, but i also would like to get file only if the were created (or modified) today (for example).

    Is there a simple way to do that ?

    Thank you very much

  • #2
    Yes; use a custom FileListFilter. As described here, http://static.springsource.org/sprin...tml/files.html, it can be combined with the Regex filter by using a CompositeFileListFilter.

    Comment


    • #3
      Originally posted by Gary Russell View Post
      Yes; use a custom FileListFilter. As described here, http://static.springsource.org/sprin...tml/files.html, it can be combined with the Regex filter by using a CompositeFileListFilter.
      Thank you so much gary, i'll try that very soon and keep you informed.

      Comment

      Working...
      X