[ https://issues.apache.org/jira/browse/TIKA-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved TIKA-1026. --------------------------------- Resolution: Fixed Fix Version/s: 1.3 Done in revision 1411118. > ServiceLoader should respect OSGi service ranking > ------------------------------------------------- > > Key: TIKA-1026 > URL: https://issues.apache.org/jira/browse/TIKA-1026 > Project: Tika > Issue Type: Improvement > Components: config > Affects Versions: 1.2 > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Labels: osgi > Fix For: 1.3 > > > Currently the ServiceLoader and TikaActivator classes simply maintain an > unordered collection of the Parser and Detector services currently available > in an OSGi environment. This is troublesome in the case where there are for > example two Parser services that both cover the same media type, and one of > them should be preferred. The OSGi way for specifying such preferences is > through [service > ranking|http://www.osgi.org/javadoc/r4v42/org/osgi/framework/Constants.html#SERVICE%5FRANKING], > but that currently doesn't work with Tika. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira