[ 
https://issues.apache.org/jira/browse/CAMEL-11274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021825#comment-16021825
 ] 

Claus Ibsen commented on CAMEL-11274:
-------------------------------------

Yeah this class was not really intended for extension. If you eg load routes 
from a database or somethign then you would write your own class and implement 
those interfaces as Onder says.

> ReloadStrategySupport is not easy extendable because of a number of private's
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-11274
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11274
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.19.0
>            Reporter: Ronny Aerts
>            Priority: Minor
>             Fix For: 2.20.0
>
>
> I was trying to analyse ticket CAMEL-11273 and therefore I created a new 
> RouteWatcherReloadStrategy class which overrides the onReloadXml from 
> ReloadStrategySupport. 
> Your have to forsee the succeeded and failed private variables in order to be 
> able to override the onReloadXml with nearly the same functionality. It would 
> be better to have those variables published are to have setters. 
> It would be nice too to have a published version of ResourceState (since it 
> is used in onReloadXml ).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to