|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.jms.JmsComponent
public class JmsComponent
Field Summary | |
---|---|
static String |
QUEUE_PREFIX
|
static String |
TOPIC_PREFIX
|
Constructor Summary | |
---|---|
protected |
JmsComponent()
|
|
JmsComponent(org.apache.camel.CamelContext container)
|
protected |
JmsComponent(org.springframework.jms.core.JmsTemplate template)
|
Method Summary | |
---|---|
void |
activate(JmsEndpoint endpoint,
org.apache.camel.Processor<JmsExchange> processor)
|
protected String |
convertPathToActualDestination(String path)
A strategy method allowing the URI destination to be translated into the actual JMS destination name (say by looking up in JNDI or something) |
JmsEndpoint |
createEndpoint(String uri,
String path)
|
JmsEndpoint |
createEndpoint(com.sun.jndi.toolkit.url.Uri uri)
|
protected org.springframework.jms.listener.AbstractMessageListenerContainer |
createMessageListenerContainer(org.springframework.jms.core.JmsTemplate template)
|
void |
deactivate(JmsEndpoint endpoint)
|
org.apache.camel.CamelContext |
getContainer()
|
org.springframework.jms.core.JmsTemplate |
getTemplate()
|
static JmsComponent |
jmsComponent()
Static builder method |
static JmsComponent |
jmsComponent(ConnectionFactory connectionFactory)
Static builder method |
static JmsComponent |
jmsComponent(org.springframework.jms.core.JmsTemplate template)
Static builder method |
static JmsComponent |
jmsComponentClientAcknowledge(ConnectionFactory connectionFactory)
Static builder method |
void |
setContext(org.apache.camel.CamelContext container)
|
void |
setTemplate(org.springframework.jms.core.JmsTemplate template)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String QUEUE_PREFIX
public static final String TOPIC_PREFIX
Constructor Detail |
---|
protected JmsComponent()
protected JmsComponent(org.springframework.jms.core.JmsTemplate template)
public JmsComponent(org.apache.camel.CamelContext container)
Method Detail |
---|
public static JmsComponent jmsComponent()
public static JmsComponent jmsComponent(org.springframework.jms.core.JmsTemplate template)
public static JmsComponent jmsComponent(ConnectionFactory connectionFactory)
public static JmsComponent jmsComponentClientAcknowledge(ConnectionFactory connectionFactory)
public JmsEndpoint createEndpoint(com.sun.jndi.toolkit.url.Uri uri)
public JmsEndpoint createEndpoint(String uri, String path)
public org.springframework.jms.core.JmsTemplate getTemplate()
public void setTemplate(org.springframework.jms.core.JmsTemplate template)
public org.apache.camel.CamelContext getContainer()
public void setContext(org.apache.camel.CamelContext container)
setContext
in interface org.apache.camel.Component<JmsExchange>
protected org.springframework.jms.listener.AbstractMessageListenerContainer createMessageListenerContainer(org.springframework.jms.core.JmsTemplate template)
protected String convertPathToActualDestination(String path)
public void activate(JmsEndpoint endpoint, org.apache.camel.Processor<JmsExchange> processor)
public void deactivate(JmsEndpoint endpoint)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |