I'm working on Springboot application deploying on GCP environment,
A singleton object has created in spring, and am updating that object values in other component and that update is not reflecting in any other places where ever I autowired that component.
The same logic works in Java environment but not Appengine environment.
Sample:
Updating the spring initialized bean.
@autowired Test test;
test.setNewData("temp");
Getting the same bean in another component:
@autowired Test test;
test.getNewData(); // which is updated by above component and here I have to receive the updated value. But getting the old value.
Please help me out. thanks in advance.