CamelTemplate should clear endpoint cache when stopping
-------------------------------------------------------

                 Key: CAMEL-581
                 URL: https://issues.apache.org/activemq/browse/CAMEL-581
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 1.3.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Trivial
             Fix For: 1.4.0


Only the producer cache is stopped and cleared

{code}
  // start and stop in camel template

    protected void doStart() throws Exception {
        producerCache.start();
    }

    protected void doStop() throws Exception {
        producerCache.stop();
    }


  // stop in producer cache
    protected void doStop() throws Exception {
        ServiceHelper.stopServices(producers.values());
        producers.clear();
    }
{code}

-- 
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