org.apache.camel.spring
Class CamelProducerTemplateFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.spring.CamelProducerTemplateFactoryBean
- All Implemented Interfaces:
- CamelContextAware, DisposableBean, FactoryBean, InitializingBean, ApplicationContextAware
public class CamelProducerTemplateFactoryBean
- extends IdentifiedType
- implements FactoryBean, InitializingBean, DisposableBean, CamelContextAware, ApplicationContextAware
A Spring FactoryBean
for creating a new ProducerTemplate
instance with a minimum of XML
- Version:
- $Revision: 934375 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelProducerTemplateFactoryBean
public CamelProducerTemplateFactoryBean()
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
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface DisposableBean
- Throws:
Exception
getCamelContext
public CamelContext getCamelContext()
- Specified by:
getCamelContext
in interface CamelContextAware
setCamelContext
public void setCamelContext(CamelContext camelContext)
- Specified by:
setCamelContext
in interface CamelContextAware
setDefaultEndpoint
public void setDefaultEndpoint(String defaultEndpoint)
- Sets the default endpoint URI used by default for sending message exchanges
setCamelContextId
public void setCamelContextId(String camelContextId)
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext
in interface ApplicationContextAware
- Throws:
BeansException
getMaximumCacheSize
public Integer getMaximumCacheSize()
setMaximumCacheSize
public void setMaximumCacheSize(Integer maximumCacheSize)
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.