1 Reply Latest reply on May 5, 2016 6:30 AM by afilippov

    Profile properties auto refresh

    afilippov

      Hi,

      I have a profile with properties file and I have a simple route:

       

      <route id="timer-to-console">

           <from uri="timer://pingSMPPTimer?period={{smpp.ping.period}}"/>

           <log message="Ping {{smpp.ping.msg}} status OK" loggingLevel="INFO"/>

      </route>

      Router starts fine but when I change values from hawtio console they are not applied at all. Although logs shows the foolowing after pushing Refresh button on the Profile:

       

      2016-04-30 12:14:27 INFOio.fabric8.git.internal.DefaultPullPushPolicy Performing a pull on remote URL: http://127.0.0.1:8181/git/fabric/

      2016-04-30 12:14:27 INFOio.fabric8.git.internal.DefaultPullPushPolicy Pull result: [localUpdate=[1.0],remoteUpdate=false,versions=[1.0, master, patches-child, patches-root-amq, patches-root-fuse, patches-ssh-fabric8, patches-ssh-fuse],error=null]

      2016-04-30 12:14:27 INFOio.fabric8.git.internal.DefaultPullPushPolicy Performing a pull on remote URL: http://127.0.0.1:8181/git/fabric/

      2016-04-30 12:14:28 INFOio.fabric8.git.internal.DefaultPullPushPolicy Pull result: [localUpdate=[1.0],remoteUpdate=false,versions=[1.0, master, patches-child, patches-root-amq, patches-root-fuse, patches-ssh-fabric8, patches-ssh-fuse],error=null]

      2016-04-30 12:14:30 INFOio.fabric8.configadmin.FabricConfigAdminBridge Updating configuration ru.test.smpp

       

      Could somebody explain why new values are not applied?

      Thanks a lot.