Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12167

Spring Boot reload changed properties values with org.apache.camel.spring.spi.BridgePropertyPlaceholderConfigurer bean

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Major
    • None
    • fuse-7.4-GA
    • Spring Boot
    • None
    • % %

    Description

      -At this moment, is there a way to reload changed properties values at runtime in Spring Boot?

      scenario: when artifact "camel-ose-springboot-xml-1.0.0-SNAPSHOT.jar" is started it takes the actual value of "cool.bar" property in the "custom.properties" file, but if you change the "cool.bar" property value it will not take that new value in the current runtime.

      • Unzip "spring-hello.zip"
      • Move the "custom.properties" attached file to the /tmp foler
      • Execute:
      java -jar target/camel-ose-springboot-xml-1.0.0-SNAPSHOT.jar
      
      • Change the cool.bar value in "custom.properties" file and check output of previous execution.

      Attachments

        Activity

          People

            ldemasi Luigi De Masi
            emunoz@redhat.com Elkin Dario Munoz Duarte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: