Class CamelSourceAdapter
java.lang.Object
org.apache.camel.component.spring.integration.adapter.AbstractCamelAdapter
org.apache.camel.component.spring.integration.adapter.CamelSourceAdapter
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class CamelSourceAdapter
extends AbstractCamelAdapter
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
A CamelContext will be injected into CameSourceAdapter which will let Spring Integration channel talk to the
CamelContext certain endpoint
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
void
destroy()
org.springframework.messaging.MessageChannel
protected void
void
setReplyChannel
(org.springframework.integration.channel.DirectChannel channel) void
setRequestChannel
(org.springframework.messaging.MessageChannel channel) Methods inherited from class org.apache.camel.component.spring.integration.adapter.AbstractCamelAdapter
getCamelContext, getCamelEndpointUri, isExpectReply, setCamelContext, setCamelEndpointUri, setExpectReply
-
Constructor Details
-
CamelSourceAdapter
public CamelSourceAdapter()
-
-
Method Details
-
setRequestChannel
public void setRequestChannel(org.springframework.messaging.MessageChannel channel) -
getChannel
public org.springframework.messaging.MessageChannel getChannel() -
setReplyChannel
public void setReplyChannel(org.springframework.integration.channel.DirectChannel channel) -
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
destroy
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
Exception
-
initialize
- Throws:
Exception
-