Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-643

Possibility to proccess files for PollingComponent in sorted/ordered way defined by component configutration using Comparator or similiar solution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • servicemix-file-2008.01, servicemix-file-2009.01
    • 2010.02
    • None
    • Patch Available

    Description

      I have following situation, with DB trigger I am creating files with name: <some name><systemtimestamp.xml>. I am polling this files and putting in JMS queue, but I need to put in ordered way(when files created) to have consistence document processing. Its nice to have possibility to tell PollingComponent how to order list before starting processing them(can be file name, file creation date and etc).

      Attachments

        1. FillPollerWithComparator.patch
          11 kB
          Sargis Harutyunyan
        2. VFSFillPollerWithComparator.patch
          22 kB
          Sargis Harutyunyan

        Activity

          People

            jb@nanthrax.net Jean-Baptiste Onofré
            armsargis Sargis Harutyunyan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: