Skip to main content
Jan 28, 2020 11:42 AM UTC
Solved

Binding a persistent variable

I have a thing "GLOB" that contains global persistent properties

I have another thing "THG1" that has a property "prop1" that is bound to one of GLOB.

 

Do I need to set also on THG1 that "prop1" is persistent or is it enough the persistent flag on GLOB ?

From a simple test (by just restarting THG1) seems that it is enought set persistent the prop at GLOB .... but I have a cloud instance and cannot restart the whole app easily ....

 

 

Jan 28, 2020 12:07 PM UTC

Hi,

 

I have done same test as you described and the value of THG1 property is kept after Tomcat/server restart.

 

Best regards,

Raluca Edu

1 reply

Jan 28, 2020 12:07 PM UTC

Hi,

 

I have done same test as you described and the value of THG1 property is kept after Tomcat/server restart.

 

Best regards,

Raluca Edu