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

ASF GitHub Bot commented on CAMEL-12056:
----------------------------------------

drekbour opened a new pull request #2128: CAMEL-12056 Add 
NotifyBuilder.destroy() method
URL: https://github.com/apache/camel/pull/2128
 
 
   + Java 7 tidy up
   
   Note I used the eventNotifier status in create() to determine "isDestroyed" 
rather than an explicit field. We could use the same to replace `created` and 
integrate both concepts together.. (I can amend PR if requested)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add NotifyBuilder.destroy() method
> ----------------------------------
>
>                 Key: CAMEL-12056
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12056
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.20.1
>            Reporter: Marc Carter
>
> Once constructed, NotifyBuilders remain registered against their CamelContext 
> with no (neat) means of getting rid of them.
> Dev: Add a destroy() method to complement the create() method. Destroy is 
> irreversible, object should be unusable after this (much as when !created).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to