camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "onder sezgin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11274) ReloadStrategySupport is not easy extendable because of a number of private's
Date Tue, 23 May 2017 18:54:04 GMT

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

onder sezgin commented on CAMEL-11274:
--------------------------------------

i am not sure if this is needed. if you require a custom  reloadstrategy, i guess you can
write your implementation by implementing ReloadStrategy interface and extending ServiceSupport.


> 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)

Mime
View raw message