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 (JIRA)" <ji...@apache.org> on 2013/01/26 12:49:12 UTC
[jira] [Resolved] (CAMEL-5999) RestletComponent component is not
removing added route from routers list although route is removed from
Context.
[ https://issues.apache.org/jira/browse/CAMEL-5999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5999.
--------------------------------
Resolution: Fixed
I took a look and found a way to better deattach restlet routers when they are no longer in use.
> RestletComponent component is not removing added route from routers list although route is removed from Context.
> ----------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5999
> URL: https://issues.apache.org/jira/browse/CAMEL-5999
> Project: Camel
> Issue Type: Bug
> Components: camel-restlet
> Affects Versions: 2.10.3
> Reporter: Amit Patel
> Assignee: Claus Ibsen
> Fix For: 2.10.4, 2.11.0
>
>
> In RestletComponent class add entry to instance variable "private final Map<String, MethodBasedRouter> routers = new HashMap<String, MethodBasedRouter>()" map while invoking getMethodRouter method, but it never remove in disconnect method, also disconnect method has local variable with same name as instance variable "routes".
> Camel Development Forums
> =========================
> http://camel.465427.n5.nabble.com/Camel-Restlet-2-10-3-RestletComponent-component-does-not-remove-added-route-form-routers-although-ro-td5726000.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira