public class CamelEndpointLoader
extends java.lang.Object
implements org.apache.camel.CamelContextAware
CamelContext with ActiveMQ Queue endpoints| Constructor and Description |
|---|
CamelEndpointLoader() |
CamelEndpointLoader(org.apache.camel.CamelContext camelContext) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addQueue(ActiveMQQueue queue) |
protected void |
addTopic(ActiveMQTopic topic) |
void |
afterPropertiesSet() |
void |
destroy() |
org.apache.camel.CamelContext |
getCamelContext() |
ActiveMQComponent |
getComponent() |
EnhancedConnection |
getConnection() |
javax.jms.ConnectionFactory |
getConnectionFactory() |
protected java.lang.String |
getQueueUri(ActiveMQQueue queue) |
protected java.lang.String |
getTopicUri(ActiveMQTopic topic) |
protected void |
removeQueue(ActiveMQQueue queue) |
protected void |
removeTopic(ActiveMQTopic topic) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setComponent(ActiveMQComponent component) |
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory) |
public CamelEndpointLoader()
public CamelEndpointLoader(org.apache.camel.CamelContext camelContext)
@PostConstruct
public void afterPropertiesSet()
throws java.lang.Exception
java.lang.Exception@PreDestroy
public void destroy()
throws java.lang.Exception
java.lang.Exceptionpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic EnhancedConnection getConnection()
public javax.jms.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
public ActiveMQComponent getComponent()
public void setComponent(ActiveMQComponent component)
protected void addQueue(ActiveMQQueue queue) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getQueueUri(ActiveMQQueue queue)
protected void removeQueue(ActiveMQQueue queue) throws java.lang.Exception
java.lang.Exceptionprotected void addTopic(ActiveMQTopic topic) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getTopicUri(ActiveMQTopic topic)
protected void removeTopic(ActiveMQTopic topic) throws java.lang.Exception
java.lang.ExceptionCopyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.