I have a bundle of component type with configurable property e.g. email address with some default value. I changed the default value to some other value in the configuraions setup. Now I re-deploy the bundle. Now if i am seeing the property value, i am seeing the changed value instead of default value. Is this the correct behavior?
Thanks in advance!
That is the expected behavior and generally it's the most common use case. Normally you wouldn't want deployment of new code to overwrite configurations.
If you would prefer to control the configurations via a build mechansim you can use repository based configuration node to configure the bundle and then deploy that configuration with your code. See http://dev.day.com/docs/en/cq/current/deploying/configuring_cq.html#OSGi Configuration in the Repository for details on how to do this.
Thank you for the insight...