|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultEndpoint<JmsExchange>
org.apache.camel.component.jms.JmsEndpoint
public class JmsEndpoint
Constructor Summary | |
---|---|
JmsEndpoint(String uri,
JmsComponent component,
String destination,
boolean pubSubDomain,
JmsConfiguration configuration)
|
Method Summary | |
---|---|
JmsConsumer |
createConsumer(org.apache.camel.Processor processor)
|
JmsConsumer |
createConsumer(org.apache.camel.Processor processor,
org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer)
Creates a consumer using the given processor and listener container |
JmsExchange |
createExchange()
|
JmsExchange |
createExchange(Message message)
|
protected org.springframework.jms.core.JmsOperations |
createJmsOperations()
|
org.apache.camel.PollingConsumer<JmsExchange> |
createPollingConsumer()
|
JmsProducer |
createProducer()
|
JmsProducer |
createProducer(org.springframework.jms.core.JmsOperations template)
Creates a producer using the given template |
JmsBinding |
getBinding()
|
JmsConfiguration |
getConfiguration()
|
String |
getDestination()
|
String |
getSelector()
|
boolean |
isSingleton()
|
void |
setBinding(JmsBinding binding)
Sets the binding used to convert from a Camel message to and from a JMS message |
void |
setSelector(String selector)
Sets the JMS selector to use |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
---|
convertTo, createExchange, createExecutorService, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JmsEndpoint(String uri, JmsComponent component, String destination, boolean pubSubDomain, JmsConfiguration configuration)
Method Detail |
---|
public JmsProducer createProducer() throws Exception
Exception
public JmsProducer createProducer(org.springframework.jms.core.JmsOperations template) throws Exception
Exception
public JmsConsumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public JmsConsumer createConsumer(org.apache.camel.Processor processor, org.springframework.jms.listener.AbstractMessageListenerContainer listenerContainer) throws Exception
processor
- the processor to use to process the messageslistenerContainer
- the listener container
Exception
- if the consumer cannot be createdpublic org.apache.camel.PollingConsumer<JmsExchange> createPollingConsumer() throws Exception
createPollingConsumer
in interface org.apache.camel.Endpoint<JmsExchange>
createPollingConsumer
in class org.apache.camel.impl.DefaultEndpoint<JmsExchange>
Exception
public JmsExchange createExchange()
public JmsExchange createExchange(Message message)
public JmsBinding getBinding()
public void setBinding(JmsBinding binding)
binding
- the binding to usepublic String getDestination()
public JmsConfiguration getConfiguration()
public String getSelector()
public void setSelector(String selector)
public boolean isSingleton()
protected org.springframework.jms.core.JmsOperations createJmsOperations()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |