[
https://issues.apache.org/jira/browse/FTPSERVER-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niklas Gustavsson closed FTPSERVER-223.
---------------------------------------
Resolution: Fixed
Should be okay. Added test to show that if you provide a LinkedHashMap, Ftplets
are invoked in order.:
org.apache.ftpserver.ftpletcontainer.FtpLetContainerTestTemplate.testFtpletCallOrder1()
org.apache.ftpserver.ftpletcontainer.FtpLetContainerTestTemplate.testFtpletCallOrder2()
The Spring config already uses a LinkedHashMap (ManagedMap subclass).
> Provide a way to execute Ftplets in a specific order
> ----------------------------------------------------
>
> Key: FTPSERVER-223
> URL: https://issues.apache.org/jira/browse/FTPSERVER-223
> Project: FtpServer
> Issue Type: Improvement
> Components: Ftplets
> Reporter: Sai Pullabhotla
> Assignee: Niklas Gustavsson
> Fix For: 1.0-M4
>
>
> Currently, there is really no way to determine the order in which the Ftplets
> are fired. It would be nice to allow -
> Execution of the Ftplets in the order they were defined in the config file
> (spring)
> When embedding the server, force the developers to use an implementation of
> Map which iterates through its items in a predictable manner (e.g.
> LinkedHashMap or TreeMap).
> More information on this can be found at http://www.mail-archive.com/[EMAIL
> PROTECTED]/msg00413.html.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.