[ 
https://issues.apache.org/jira/browse/CAMEL-12056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marc Carter updated CAMEL-12056:
--------------------------------
    Description: 
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).

  was:
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). 
AutoClosable interface might help encourage it's correct usage.


> 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