org.apache.camel.spring
Class CamelProducerTemplateFactoryBean

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

public class CamelProducerTemplateFactoryBean
extends org.apache.camel.core.xml.AbstractCamelProducerTemplateFactoryBean
implements FactoryBean<org.apache.camel.ProducerTemplate>, InitializingBean, DisposableBean, ApplicationContextAware

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

Version:

Constructor Summary
CamelProducerTemplateFactoryBean()
           
 
Method Summary
protected  org.apache.camel.CamelContext getCamelContextWithId(String camelContextId)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class org.apache.camel.core.xml.AbstractCamelProducerTemplateFactoryBean
destroy, getDefaultEndpoint, getMaximumCacheSize, getObject, getObjectType, setDefaultEndpoint, setMaximumCacheSize
 
Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean
afterPropertiesSet, discoverDefaultCamelContext, getCamelContext, getCamelContextId, isSingleton, setCamelContext, setCamelContextId
 
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 org.apache.camel.CamelContext getCamelContextWithId(String camelContextId)
Specified by:
getCamelContextWithId in class org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>

setApplicationContext

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


Apache Camel