Hi, Today i have seen a strange issue that routes are getting shutdown when i
set the update-strategy to reload in my blueprint xml file.

Context: i am trying to update the config file using the java code and
injecting the updated properties to a bean - but it is not happening.


When i deploy my bundle in Fuse ESB first time all my properties gets loaded
to bean, but as soon as my config file updated then all the routes are
getting shutdown.


here is the code:
bluprint.xml


<cm:property-placeholder persistent-id="xyz" update-strategy="reload">
        <cm:default-properties>
            <cm:property name="aaa" value="N"/>
            <cm:property name="bbb" value="001"/>
            <cm:property name="ccc" value="001"/>
        </cm:default-properties>
    </cm:property-placeholder>

 <bean id="myProcessor" class="aa.xx.x.MyProcessor">
        <argument value="${aaa}"/>
        <argument value="${bob}"/>
        <argument value="${ccc}"/>
    </bean>


Is there anything wrong i am doing here- i appreciate if some can let me
know your views?



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Routes-are-shutting-down-when-i-set-the-update-strategy-to-reload-in-Fuse-ESB-7-1-tp5717499.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to