@Converter public class ActiveMQMessageConverter extends Object
| Constructor and Description |
|---|
ActiveMQMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.component.jms.JmsBinding |
getBinding() |
void |
setBinding(org.apache.camel.component.jms.JmsBinding binding) |
ActiveMQMessage |
toMessage(org.apache.camel.Exchange exchange)
Converts the inbound message exchange to an ActiveMQ JMS message
|
org.apache.camel.Processor |
toProcessor(MessageListener listener)
Allows a JMS
MessageListener to be converted to a Camel Processor
so that we can provide better
Bean Integration so that we can use any JMS MessageListener in
in Camel as a bean |
public ActiveMQMessageConverter()
@Converter public ActiveMQMessage toMessage(org.apache.camel.Exchange exchange) throws JMSException
JMSException@Converter public org.apache.camel.Processor toProcessor(MessageListener listener)
MessageListener to be converted to a Camel Processor
so that we can provide better
Bean Integration so that we can use any JMS MessageListener in
in Camel as a beanlistener - the JMS message listenerMessageListener.onMessage(Message)public org.apache.camel.component.jms.JmsBinding getBinding()
public void setBinding(org.apache.camel.component.jms.JmsBinding binding)
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.