org.apache.camel.component.spring.integration.adapter
Class CamelSourceAdapter

java.lang.Object
  extended by org.apache.camel.component.spring.integration.adapter.AbstractCamelAdapter
      extended by 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

Version:
$Revision: 792319 $

Nested Class Summary
protected  class CamelSourceAdapter.ConsumerProcessor
           
 
Constructor Summary
CamelSourceAdapter()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.springframework.integration.core.MessageChannel getChannel()
           
protected  void initialize()
           
 void setReplyChannel(org.springframework.integration.channel.DirectChannel channel)
           
 void setRequestChannel(org.springframework.integration.core.MessageChannel channel)
           
 
Methods inherited from class org.apache.camel.component.spring.integration.adapter.AbstractCamelAdapter
getCamelContext, getCamelEndpointUri, isExpectReply, setCamelContext, setCamelEndpointUri, setExpectReply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelSourceAdapter

public CamelSourceAdapter()
Method Detail

setRequestChannel

public void setRequestChannel(org.springframework.integration.core.MessageChannel channel)

getChannel

public org.springframework.integration.core.MessageChannel getChannel()

setReplyChannel

public void setReplyChannel(org.springframework.integration.channel.DirectChannel channel)

afterPropertiesSet

public final void afterPropertiesSet()
                              throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
Exception

initialize

protected void initialize()
                   throws Exception
Throws:
Exception


Apache CAMEL