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/23 08:40:13 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13560453#comment-13560453 ] 

Claus Ibsen commented on CAMEL-5999:
------------------------------------

Thanks for reporting.

Are you working on a patch for this?
                
> 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
>             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