public class CamelDestination extends Object implements CustomDestination, org.apache.camel.CamelContextAware
Constructor and Description |
---|
CamelDestination() |
CamelDestination(String uri) |
Modifier and Type | Method and Description |
---|---|
MessageConsumer |
createConsumer(ActiveMQSession session,
String messageSelector) |
MessageConsumer |
createConsumer(ActiveMQSession session,
String messageSelector,
boolean noLocal) |
TopicSubscriber |
createDurableSubscriber(ActiveMQSession session,
String name,
String messageSelector,
boolean noLocal) |
MessageProducer |
createProducer(ActiveMQSession session) |
TopicPublisher |
createPublisher(ActiveMQSession session) |
QueueReceiver |
createReceiver(ActiveMQSession session,
String messageSelector) |
QueueSender |
createSender(ActiveMQSession session) |
TopicSubscriber |
createSubscriber(ActiveMQSession session,
String messageSelector,
boolean noLocal) |
org.apache.camel.component.jms.JmsBinding |
getBinding() |
org.apache.camel.CamelContext |
getCamelContext() |
org.apache.camel.Endpoint |
getEndpoint() |
String |
getUri() |
protected org.apache.camel.CamelContext |
resolveCamelContext(ActiveMQSession session) |
protected org.apache.camel.Endpoint |
resolveEndpoint(ActiveMQSession session)
Resolves the Camel Endpoint for this destination
|
void |
setBinding(org.apache.camel.component.jms.JmsBinding binding) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setEndpoint(org.apache.camel.Endpoint endpoint) |
void |
setUri(String uri) |
String |
toString() |
public CamelDestination()
public CamelDestination(String uri)
public MessageConsumer createConsumer(ActiveMQSession session, String messageSelector)
createConsumer
in interface CustomDestination
public MessageConsumer createConsumer(ActiveMQSession session, String messageSelector, boolean noLocal)
createConsumer
in interface CustomDestination
public TopicSubscriber createSubscriber(ActiveMQSession session, String messageSelector, boolean noLocal)
createSubscriber
in interface CustomDestination
public TopicSubscriber createDurableSubscriber(ActiveMQSession session, String name, String messageSelector, boolean noLocal)
createDurableSubscriber
in interface CustomDestination
public QueueReceiver createReceiver(ActiveMQSession session, String messageSelector)
createReceiver
in interface CustomDestination
public MessageProducer createProducer(ActiveMQSession session) throws JMSException
createProducer
in interface CustomDestination
JMSException
public TopicPublisher createPublisher(ActiveMQSession session) throws JMSException
createPublisher
in interface CustomDestination
JMSException
public QueueSender createSender(ActiveMQSession session) throws JMSException
createSender
in interface CustomDestination
JMSException
public org.apache.camel.Endpoint getEndpoint()
public void setEndpoint(org.apache.camel.Endpoint endpoint)
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.component.jms.JmsBinding getBinding()
public void setBinding(org.apache.camel.component.jms.JmsBinding binding)
protected org.apache.camel.Endpoint resolveEndpoint(ActiveMQSession session)
protected org.apache.camel.CamelContext resolveCamelContext(ActiveMQSession session)
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.