[
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: sar...@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)
> sar...@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
> sar...@sargis:~> cat /etc/SuSE-release
> openSUSE 11.1 (i586)
> VERSION = 11.1
> sar...@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.