[
https://issues.apache.org/jira/browse/CAMEL-11274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16021717#comment-16021717
]
ASF GitHub Bot commented on CAMEL-11274:
----------------------------------------
GitHub user onders86 opened a pull request:
https://github.com/apache/camel/pull/1710
CAMEL-11274- add extensibility to ReloadStrategySupport in case needed
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/onders86/camel CAMEL-11274
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1710.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1710
----
commit c31ae7d02f912f9335ab45e6cf419dd996faff97
Author: onders86 <[email protected]>
Date: 2017-05-23T19:37:10Z
CAMEL-11274- add extensibility to ReloadStrategySupport
----
> 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)