Remove queue and topic endpoints in Camel when they are removed in 
CamelEndpointLoader
--------------------------------------------------------------------------------------

                 Key: AMQ-3139
                 URL: https://issues.apache.org/jira/browse/AMQ-3139
             Project: ActiveMQ
          Issue Type: Improvement
    Affects Versions: 5.4.2
            Reporter: Claus Ibsen
            Priority: Minor


The CamelEndpointLoader has code which isn't currently used
{code}

    protected void removeQueue(ActiveMQQueue queue) throws Exception {
        String queueUri = getQueueUri(queue);
        // lur cache of endpoints so they will disappear in time
        // this feature needs a new component api - list available endpoints
        //camelContext.removeEndpoints(queueUri);
    }
{code}

Likewise for the {{removeTopic}} method.

The CamelContext API has the {{removeEndpoints}} API. 

See CAMEL-2988

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to