Add new parameter in Nuxeo.conf
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.
0 votes
1 answers
2074 views
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. Please correct me if I am wrong…
06/01/2015