On Thu, Oct 7, 2010 at 1:16 PM, Hossein <mamerka...@csc.com> wrote: > > Hello, > > Environment: fuse 4.2 sp1 (camel 2.2) > > I am using the following in my spring config file load properties and it > works with no problem. However, I was under assumption that when my bundles > are deployed into SMX, if I place a new version of of my properties file > (integration.properties) into SMX home/etc folder, the new file will be > picked up, BUT it does not. > > [1] <context:property-placeholder > location="classpath:integration.properties"/> > > Question1: is there anyway to change [1] so that an updated properties file > would be picked up by the spring my config file? > > Question2: Can [1] be changed so that it will load from a folder rather than > classpath? >
Yeah there is some OSGi way of defining a property as being "OSGified" which means when you update the file, its updated in the kernel as well. See the FUSE documentation http://fusesource.com/products/enterprise-servicemix/#documentation In the _Deploying into the OSGi Container_ on page 66 in the pdf there is something about osgi and properties. > Thanks, > Hossein Amerkashi > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/property-placeholder-and-classpath-tp3202843p3202843.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus