Replace properties within Spring-Context.xml during deploy time [message #593638] |
Mon, 19 August 2013 08:54 |
|
amsachdev
Messages: 1 Registered: August 2013 Location: India
|
Junior Member |
|
|
Hi All
I have certain configurable properties within Spring-Context xml file in a composite and would like to replace them during deploy time. The problem is that the spring-context xml is not supported by config-plan and also i don't have any BPEL in my composite (only a spring context with web service binding exposed as service). The composite uses Spring/JPA to process heavy inserts into the table. As a current workaround, i am using ANT scripts to unzip the sca, replace the values and re-zip it and pass it to ant-sca-deploy.xml. This seems to work.
Please let me know if there is a better solution to this. I would prefer this to be during deploy time to make the SCA jar independent of environment. Thanks
|
|
|