org.apache.camel.component.spring.integration.adapter
Class CamelTargetAdapter
java.lang.Object
   org.apache.camel.component.spring.integration.adapter.AbstractCamelAdapter
org.apache.camel.component.spring.integration.adapter.AbstractCamelAdapter
       org.apache.camel.component.spring.integration.adapter.CamelTargetAdapter
org.apache.camel.component.spring.integration.adapter.CamelTargetAdapter
- All Implemented Interfaces: 
- org.springframework.integration.message.MessageHandler
- public class CamelTargetAdapter 
- extends AbstractCamelAdapter- implements org.springframework.integration.message.MessageHandler
CamelTargeAdapter will redirect the Spring Integration message to the Camel context.
 When we inject the camel context into it, we need also specify the Camel endpoint url
 we will route the Spring Integration message to the Camel context
- Version:
- $Revision: 792334 $
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CamelTargetAdapter
public CamelTargetAdapter()
setReplyChannel
public void setReplyChannel(org.springframework.integration.core.MessageChannel channel)
- 
 
- 
 
getReplyChannel
public org.springframework.integration.core.MessageChannel getReplyChannel()
- 
 
- 
 
getCamelTemplate
public ProducerTemplate<Exchange> getCamelTemplate()
- 
 
- 
 
send
public boolean send(org.springframework.integration.core.Message<?> message)
             throws org.springframework.integration.message.MessageRejectedException,
                    org.springframework.integration.message.MessageDeliveryException
- 
 
- 
- Throws:
- org.springframework.integration.message.MessageRejectedException
- org.springframework.integration.message.MessageDeliveryException
 
handleMessage
public void handleMessage(org.springframework.integration.core.Message<?> message)
- 
- Specified by:
- handleMessagein interface- org.springframework.integration.message.MessageHandler
 
- 
 
Apache CAMEL