org.apache.activemq.camel.component
Class CamelEndpointLoader
java.lang.Object
org.apache.activemq.camel.component.CamelEndpointLoader
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware
public class CamelEndpointLoader
- extends java.lang.Object
- implements org.apache.camel.CamelContextAware
A helper bean which populates a CamelContext with ActiveMQ Queue endpoints
- Version:
- $Revision: 1.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelEndpointLoader
public CamelEndpointLoader()
CamelEndpointLoader
public CamelEndpointLoader(org.apache.camel.CamelContext camelContext)
afterPropertiesSet
@PostConstruct
public void afterPropertiesSet()
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
@PreDestroy
public void destroy()
throws java.lang.Exception
- Throws:
java.lang.Exception
getCamelContext
public org.apache.camel.CamelContext getCamelContext()
- Specified by:
getCamelContext in interface org.apache.camel.CamelContextAware
setCamelContext
public void setCamelContext(org.apache.camel.CamelContext camelContext)
- Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware
getConnection
public EnhancedConnection getConnection()
getConnectionFactory
public javax.jms.ConnectionFactory getConnectionFactory()
setConnectionFactory
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
getComponent
public ActiveMQComponent getComponent()
setComponent
public void setComponent(ActiveMQComponent component)
addQueue
protected void addQueue(ActiveMQQueue queue)
throws java.lang.Exception
- Throws:
java.lang.Exception
getQueueUri
protected java.lang.String getQueueUri(ActiveMQQueue queue)
removeQueue
protected void removeQueue(ActiveMQQueue queue)
throws java.lang.Exception
- Throws:
java.lang.Exception
addTopic
protected void addTopic(ActiveMQTopic topic)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTopicUri
protected java.lang.String getTopicUri(ActiveMQTopic topic)
removeTopic
protected void removeTopic(ActiveMQTopic topic)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.