cancel
Showing results for 
Search instead for 
Did you mean: 

Datahub runtime properties

Former Member
0 Kudos

Is there a way we can set the properties set in local.properties of datahub during runtime without the server restart?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ashwan!

No, that is not possible. You could try to write your custom REST service to make the properties editable via the web interface (or write a MBean which could do that). Have a look into this class:

com.hybris.commons.configuration.impl.DefaultConfigurationProvider;

Kind Regards, Thomas

Answers (1)

Answers (1)

mpern
Employee
Employee
0 Kudos

FYI, you can access the current configuration via the bean applicationProperties

Example:

 @Resource
 java.util.Properties applicationProperties