To read the properties inside Backoffice’s config file, we need to get the configurationService bean. From it, we can get the properties.

Reading properties inside config file

spring.getBean("configurationService").getConfiguration().getString("my.property", "")

Finally, for all of my posts in SAP Commerce (Hybris) are here.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *