cancel
Showing results for 
Search instead for 
Did you mean: 

Add new parameter in Nuxeo.conf

Souvik_
Confirmed Champ
Confirmed Champ

Hi, Through Nuxeo IDE I have created a listener in nuxeo. Now in that listener I run some antivirus service for which I need to configure IP of the machine where the antivirus is running. Now to configure that IP I need to add some new parameter in nuxeo.conf. So, can any one help me to know how can I add new parameter in nuxeo.conf and also how to read it from my listener.

2 REPLIES 2

Florent_Guillau
World-Class Innovator
World-Class Innovator

Just add whatever parameter you want in nuxeo.conf like:

your.custom.parameter=thevalue

Then read it from your code using:

String value = Framework.getProperty("your.custom.parameter");

If you want to test it from the IDE, if I'm not mistaken, you have to add it in nuxeo-sdk.conf too.