org.apache.camel.spring
Class CamelConsumerTemplateFactoryBean

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.spring.CamelConsumerTemplateFactoryBean
All Implemented Interfaces:
CamelContextAware, FactoryBean, InitializingBean, ApplicationContextAware

public class CamelConsumerTemplateFactoryBean
extends IdentifiedType
implements FactoryBean, InitializingBean, CamelContextAware, ApplicationContextAware

A Spring FactoryBean for creating a new ConsumerTemplate instance with a minimum of XML

Version:
$Revision: 895337 $

Constructor Summary
CamelConsumerTemplateFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 CamelContext getCamelContext()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setCamelContext(CamelContext camelContext)
           
 void setCamelContextId(String camelContextId)
           
 
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelConsumerTemplateFactoryBean

public CamelConsumerTemplateFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean

getCamelContext

public CamelContext getCamelContext()
Specified by:
getCamelContext in interface CamelContextAware

setCamelContext

public void setCamelContext(CamelContext camelContext)
Specified by:
setCamelContext in interface CamelContextAware

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

setCamelContextId

public void setCamelContextId(String camelContextId)


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.