public class CamelTargetAdapter extends AbstractCamelAdapter implements org.springframework.integration.core.MessageHandler
Constructor and Description |
---|
CamelTargetAdapter() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.ProducerTemplate |
getCamelTemplate() |
org.springframework.integration.MessageChannel |
getReplyChannel() |
void |
handleMessage(org.springframework.integration.Message<?> message) |
boolean |
send(org.springframework.integration.Message<?> message) |
void |
setReplyChannel(org.springframework.integration.MessageChannel channel) |
getCamelContext, getCamelEndpointUri, isExpectReply, setCamelContext, setCamelEndpointUri, setExpectReply
public void setReplyChannel(org.springframework.integration.MessageChannel channel)
public org.springframework.integration.MessageChannel getReplyChannel()
public org.apache.camel.ProducerTemplate getCamelTemplate() throws Exception
Exception
public boolean send(org.springframework.integration.Message<?> message) throws Exception
Exception
public void handleMessage(org.springframework.integration.Message<?> message) throws org.springframework.integration.MessageDeliveryException
handleMessage
in interface org.springframework.integration.core.MessageHandler
org.springframework.integration.MessageDeliveryException
Apache Camel