@Converter
public class ActiveMQMessageConverter
extends java.lang.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(javax.jms.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 |
@Converter public ActiveMQMessage toMessage(org.apache.camel.Exchange exchange) throws javax.jms.JMSException
javax.jms.JMSException@Converter public org.apache.camel.Processor toProcessor(javax.jms.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-2013 Red Hat, Inc.. All Rights Reserved.