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 CustomDestinationpublic MessageConsumer createConsumer(ActiveMQSession session, String messageSelector, boolean noLocal)
createConsumer in interface CustomDestinationpublic TopicSubscriber createSubscriber(ActiveMQSession session, String messageSelector, boolean noLocal)
createSubscriber in interface CustomDestinationpublic TopicSubscriber createDurableSubscriber(ActiveMQSession session, String name, String messageSelector, boolean noLocal)
createDurableSubscriber in interface CustomDestinationpublic QueueReceiver createReceiver(ActiveMQSession session, String messageSelector)
createReceiver in interface CustomDestinationpublic MessageProducer createProducer(ActiveMQSession session) throws JMSException
createProducer in interface CustomDestinationJMSExceptionpublic TopicPublisher createPublisher(ActiveMQSession session) throws JMSException
createPublisher in interface CustomDestinationJMSExceptionpublic QueueSender createSender(ActiveMQSession session) throws JMSException
createSender in interface CustomDestinationJMSExceptionpublic 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.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic 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–2016 FuseSource, Corp.. All rights reserved.