You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Created) (JIRA)" <ji...@apache.org> on 2011/12/30 14:37:30 UTC

[jira] [Created] (CAMEL-4842) Remove ProducerCache from CamelContext service list when shutting down a route

Remove ProducerCache from CamelContext service list when shutting down a route
------------------------------------------------------------------------------

                 Key: CAMEL-4842
                 URL: https://issues.apache.org/jira/browse/CAMEL-4842
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.8.3, 2.9.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.8.4, 2.9.1


If people add routes dynamic and remove the routes later on, we need to remove services which may have been added to the CamelContext services list. For example the ProducerCache by SendProcessor etc.

This will ensure that the ProducerCache can be GC'ed.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4842) Remove ProducerCache from CamelContext service list when shutting down a route

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4842.
--------------------------------

    Resolution: Fixed
    
> Remove ProducerCache from CamelContext service list when shutting down a route
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-4842
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4842
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.4, 2.9.1
>
>
> If people add routes dynamic and remove the routes later on, we need to remove services which may have been added to the CamelContext services list. For example the ProducerCache by SendProcessor etc.
> This will ensure that the ProducerCache can be GC'ed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4842) Remove ProducerCache from CamelContext service list when shutting down a route

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180260#comment-13180260 ] 

Claus Ibsen commented on CAMEL-4842:
------------------------------------

When using route scoped onCompletion in routes, then we should shutdown them as well, as they are route scoped to the given route being shutdown.
                
> Remove ProducerCache from CamelContext service list when shutting down a route
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-4842
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4842
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.4, 2.9.1
>
>
> If people add routes dynamic and remove the routes later on, we need to remove services which may have been added to the CamelContext services list. For example the ProducerCache by SendProcessor etc.
> This will ensure that the ProducerCache can be GC'ed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4842) Remove ProducerCache from CamelContext service list when shutting down a route

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13177649#comment-13177649 ] 

Claus Ibsen commented on CAMEL-4842:
------------------------------------

See nabble
http://camel.465427.n5.nabble.com/ProducerCache-memory-leak-tp5108206p5108206.html
                
> Remove ProducerCache from CamelContext service list when shutting down a route
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-4842
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4842
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.4, 2.9.1
>
>
> If people add routes dynamic and remove the routes later on, we need to remove services which may have been added to the CamelContext services list. For example the ProducerCache by SendProcessor etc.
> This will ensure that the ProducerCache can be GC'ed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (CAMEL-4842) Remove ProducerCache from CamelContext service list when shutting down a route

Posted by "Claus Ibsen (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reopened CAMEL-4842:
--------------------------------


When using route scoped onException in routes, then we should shutdown them as well, as they are route scoped to the given route being shutdown.
                
> Remove ProducerCache from CamelContext service list when shutting down a route
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-4842
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4842
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.4, 2.9.1
>
>
> If people add routes dynamic and remove the routes later on, we need to remove services which may have been added to the CamelContext services list. For example the ProducerCache by SendProcessor etc.
> This will ensure that the ProducerCache can be GC'ed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4842) Remove ProducerCache from CamelContext service list when shutting down a route

Posted by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179540#comment-13179540 ] 

Claus Ibsen commented on CAMEL-4842:
------------------------------------

Fixed the route scoped onException issue
                
> Remove ProducerCache from CamelContext service list when shutting down a route
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-4842
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4842
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.4, 2.9.1
>
>
> If people add routes dynamic and remove the routes later on, we need to remove services which may have been added to the CamelContext services list. For example the ProducerCache by SendProcessor etc.
> This will ensure that the ProducerCache can be GC'ed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4842) Remove ProducerCache from CamelContext service list when shutting down a route

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4842.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10
    
> Remove ProducerCache from CamelContext service list when shutting down a route
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-4842
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4842
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.3, 2.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.4, 2.9.1, 2.10
>
>
> If people add routes dynamic and remove the routes later on, we need to remove services which may have been added to the CamelContext services list. For example the ProducerCache by SendProcessor etc.
> This will ensure that the ProducerCache can be GC'ed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira