You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2010/05/17 15:49:11 UTC

[jira] Resolved: (SMXCOMP-643) Possibility to proccess files for PollingComponent in sorted/ordered way defined by component configutration using Comparator or similiar solution

     [ https://issues.apache.org/activemq/browse/SMXCOMP-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SMXCOMP-643.
------------------------------------------

    Fix Version/s: servicemix-file-2010.02
                   servicemix-vfs-2010.02
       Resolution: Fixed

Revision 945151.

Change applied on VFS too (including provided comparator).

> Possibility to proccess files for PollingComponent in sorted/ordered way defined by component configutration using Comparator or similiar solution 
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-643
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-643
>             Project: ServiceMix Components
>          Issue Type: New Feature
>          Components: servicemix-file, servicemix-vfs
>    Affects Versions: servicemix-file-2008.01, servicemix-file-2009.01
>         Environment: sargis@sargis:~> java -version
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
> Java HotSpot(TM) Server VM (build 14.1-b02, mixed mode)
> sargis@sargis:~> uname -a
> Linux sargis 2.6.27.29-0.1-pae #1 SMP 2009-08-15 17:53:59 +0200 i686 i686 i386 GNU/Linux
> sargis@sargis:~> cat /etc/SuSE-release 
> openSUSE 11.1 (i586)
> VERSION = 11.1
> sargis@sargis:~> 
>            Reporter: Sargis Harutyunyan
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: servicemix-file-2010.02, servicemix-vfs-2010.02
>
>         Attachments: FillPollerWithComparator.patch, VFSFillPollerWithComparator.patch
>
>
> 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).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.