mirror of https://github.com/apache/activemq.git
fix compilation error with 2.4, endpoints is a lur cache of endpoints so they will disappear in time, really needs a new component api - list available endpoints - 2.5 wabol
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@967122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
21e641d496
commit
623da6ffab
|
@ -187,7 +187,9 @@ public class CamelEndpointLoader implements CamelContextAware {
|
|||
|
||||
protected void removeQueue(ActiveMQQueue queue) throws Exception {
|
||||
String queueUri = getQueueUri(queue);
|
||||
camelContext.removeEndpoints(queueUri);
|
||||
// lur cache of endpoints so they will disappear in time
|
||||
// this feature needs a new component api - list available endpoints
|
||||
//camelContext.removeEndpoints(queueUri);
|
||||
}
|
||||
|
||||
protected void addTopic(ActiveMQTopic topic) throws Exception {
|
||||
|
@ -203,6 +205,8 @@ public class CamelEndpointLoader implements CamelContextAware {
|
|||
|
||||
protected void removeTopic(ActiveMQTopic topic) throws Exception {
|
||||
String topicUri = getTopicUri(topic);
|
||||
camelContext.removeEndpoints(topicUri);
|
||||
// lur cache of endpoints so they will disappear in time
|
||||
// this feature needs a new component api - list available endpoints
|
||||
//camelContext.removeEndpoints(topicUri);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue