Jukka Zitting created TIKA-1026: ----------------------------------- Summary: 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
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