You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Sargis Harutyunyan (JIRA)" <ji...@apache.org> on 2009/09/20 00:47:51 UTC

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

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

                 Key: SM-1895
                 URL: https://issues.apache.org/activemq/browse/SM-1895
             Project: ServiceMix
          Issue Type: New Feature
          Components: servicemix-file, servicemix-vfs
    Affects Versions: 3.3.1, 4.0
         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
            Priority: Minor


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.


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

Posted by "Sargis Harutyunyan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sargis Harutyunyan updated SM-1895:
-----------------------------------

      Assignee: Sargis Harutyunyan
    Patch Info: [Patch Available]

> Possibility to proccess files for PollingComponent in sorted/ordered way defined by component configutration using Comparator or similiar solution 
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1895
>                 URL: https://issues.apache.org/activemq/browse/SM-1895
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: servicemix-file, servicemix-vfs
>    Affects Versions: 4.0, 3.3.1
>         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: Sargis Harutyunyan
>            Priority: Minor
>
> 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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMXCOMP-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59390#action_59390 ] 

Jean-Baptiste Onofré commented on SMXCOMP-643:
----------------------------------------------

Revision 945066.

I provided a set of default comparators: file name, size and last modification date.
The users can use these comparators.

I updated the servicemix-file wiki page with informations about comparator usage.

> 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
>         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.


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

Posted by "Sargis Harutyunyan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sargis Harutyunyan updated SM-1895:
-----------------------------------

    Attachment: VFSFillPollerWithComparator.patch

> Possibility to proccess files for PollingComponent in sorted/ordered way defined by component configutration using Comparator or similiar solution 
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1895
>                 URL: https://issues.apache.org/activemq/browse/SM-1895
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: servicemix-file, servicemix-vfs
>    Affects Versions: 4.0, 3.3.1
>         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: Sargis Harutyunyan
>            Priority: Minor
>         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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned SMXCOMP-643:
--------------------------------------------

    Assignee: Jean-Baptiste Onofré  (was: Sargis Harutyunyan)

> 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
>         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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMXCOMP-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59387#action_59387 ] 

Jean-Baptiste Onofré commented on SMXCOMP-643:
----------------------------------------------

Revision 945056.

I added support of comparator in servicemix-file including an unit test to validate the behavior.

> 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
>         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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré moved SM-1895 to SMXCOMP-643:
--------------------------------------------------

          Component/s:     (was: servicemix-vfs)
                           (was: servicemix-file)
                       servicemix-vfs
                       servicemix-file
    Affects Version/s:     (was: 3.3.1)
                           (was: 4.0)
                       servicemix-file-2008.01
                       servicemix-file-2009.01
                  Key: SMXCOMP-643  (was: SM-1895)
              Project: ServiceMix Components  (was: ServiceMix)

> 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-2009.01, servicemix-file-2008.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: Sargis Harutyunyan
>            Priority: Minor
>         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.


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

Posted by "Sargis Harutyunyan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sargis Harutyunyan updated SM-1895:
-----------------------------------

    Attachment: FillPollerWithComparator.patch

> Possibility to proccess files for PollingComponent in sorted/ordered way defined by component configutration using Comparator or similiar solution 
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1895
>                 URL: https://issues.apache.org/activemq/browse/SM-1895
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: servicemix-file, servicemix-vfs
>    Affects Versions: 4.0, 3.3.1
>         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: Sargis Harutyunyan
>            Priority: Minor
>         Attachments: FillPollerWithComparator.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.


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

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ 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.