[
https://issues.apache.org/jira/browse/OAK-4974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra updated OAK-4974:
---------------------------------
Attachment: OAK-4974-v1.patch
[patch|^OAK-4974-v1.patch] for the same
* Exposes OSGi config for query engine settings
* If same setting is defined via system property then that takes precedence and
a message is logged indicating the same
This would ensure that settings are passed to JMX bean upon startup
[~tmueller] Can you review the patch. Specially the description field for the
settings
> Enable configuring QueryEngineSettings via OSGi config
> ------------------------------------------------------
>
> Key: OAK-4974
> URL: https://issues.apache.org/jira/browse/OAK-4974
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: query
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.6
>
> Attachments: OAK-4974-v1.patch
>
>
> Oak QueryEngine exposes few settings options via {{QueryEngineSettings}}.
> Currently they can be configured via
> # System properties
> # JMX - The settings are not persistent
> We should have a way to configure them via OSGi also. A simple option can be
> to have a OSGi component which obtains a reference to
> {{QueryEngineSettingsMBean}} and then modifies the config upon activation
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)