You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2008/06/05 11:15:00 UTC
[jira] Created: (CAMEL-581) CamelTemplate should clear endpoint
cache when stopping
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.
[jira] Resolved: (CAMEL-581) CamelTemplate should clear endpoint
cache when stopping
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-581.
-------------------------------
Resolution: Fixed
> 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.