org.apache.camel.spring
Class CamelProducerTemplateFactoryBean

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.core.xml.AbstractCamelProducerTemplateFactoryBean
          extended by org.apache.camel.spring.CamelProducerTemplateFactoryBean
All Implemented Interfaces:
CamelContextAware, DisposableBean, FactoryBean, InitializingBean, ApplicationContextAware

public class CamelProducerTemplateFactoryBean
extends AbstractCamelProducerTemplateFactoryBean
implements FactoryBean, InitializingBean, DisposableBean, ApplicationContextAware

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

Version:
$Revision: 19525 $

Constructor Summary
CamelProducerTemplateFactoryBean()
           
 
Method Summary
protected  CamelContext getCamelContextWithId(String camelContextId)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class org.apache.camel.core.xml.AbstractCamelProducerTemplateFactoryBean
afterPropertiesSet, destroy, getCamelContext, getCamelContextId, getDefaultEndpoint, getMaximumCacheSize, getObject, getObjectType, isSingleton, setCamelContext, setCamelContextId, setDefaultEndpoint, setMaximumCacheSize
 
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
 
Methods inherited from interface org.springframework.beans.factory.FactoryBean
getObject, getObjectType, isSingleton
 
Methods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
 
Methods inherited from interface org.springframework.beans.factory.DisposableBean
destroy
 

Constructor Detail

CamelProducerTemplateFactoryBean

public CamelProducerTemplateFactoryBean()
Method Detail

getCamelContextWithId

protected CamelContext getCamelContextWithId(String camelContextId)
Specified by:
getCamelContextWithId in class AbstractCamelProducerTemplateFactoryBean

setApplicationContext

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


Apache CAMEL