Class 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
    • Constructor Detail

      • CamelSourceAdapter

        public CamelSourceAdapter()
    • Method Detail

      • 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

        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