mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1074300 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a5fc6dd999
commit
3e895c6e95
|
@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* A helper bean which populates a {@link CamelContext} with ActiveMQ Queue endpoints
|
* A helper bean which populates a {@link CamelContext} with ActiveMQ Queue endpoints
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @org.apache.xbean.XBean
|
* @org.apache.xbean.XBean
|
||||||
*/
|
*/
|
||||||
public class CamelEndpointLoader implements CamelContextAware {
|
public class CamelEndpointLoader implements CamelContextAware {
|
||||||
|
@ -189,9 +189,9 @@ public class CamelEndpointLoader implements CamelContextAware {
|
||||||
String queueUri = getQueueUri(queue);
|
String queueUri = getQueueUri(queue);
|
||||||
// lur cache of endpoints so they will disappear in time
|
// lur cache of endpoints so they will disappear in time
|
||||||
// this feature needs a new component api - list available endpoints
|
// this feature needs a new component api - list available endpoints
|
||||||
//camelContext.removeEndpoints(queueUri);
|
camelContext.removeEndpoints(queueUri);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void addTopic(ActiveMQTopic topic) throws Exception {
|
protected void addTopic(ActiveMQTopic topic) throws Exception {
|
||||||
String topicUri = getTopicUri(topic);
|
String topicUri = getTopicUri(topic);
|
||||||
ActiveMQComponent jmsComponent = getComponent();
|
ActiveMQComponent jmsComponent = getComponent();
|
||||||
|
@ -207,6 +207,6 @@ public class CamelEndpointLoader implements CamelContextAware {
|
||||||
String topicUri = getTopicUri(topic);
|
String topicUri = getTopicUri(topic);
|
||||||
// lur cache of endpoints so they will disappear in time
|
// lur cache of endpoints so they will disappear in time
|
||||||
// this feature needs a new component api - list available endpoints
|
// this feature needs a new component api - list available endpoints
|
||||||
//camelContext.removeEndpoints(topicUri);
|
camelContext.removeEndpoints(topicUri);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue