org.apache.camel.core.xml
Class AbstractCamelProducerTemplateFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelProducerTemplateFactoryBean
- All Implemented Interfaces:
- CamelContextAware
public abstract class AbstractCamelProducerTemplateFactoryBean
- extends IdentifiedType
- implements CamelContextAware
A factory 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 |
AbstractCamelProducerTemplateFactoryBean
public AbstractCamelProducerTemplateFactoryBean()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Throws:
Exception
getCamelContextWithId
protected abstract CamelContext getCamelContextWithId(String camelContextId)
getObject
public Object getObject()
throws Exception
- Throws:
Exception
getObjectType
public Class getObjectType()
isSingleton
public boolean isSingleton()
destroy
public void destroy()
throws Exception
- Throws:
Exception
getCamelContext
public CamelContext getCamelContext()
- Specified by:
getCamelContext in interface CamelContextAware
setCamelContext
public void setCamelContext(CamelContext camelContext)
- Specified by:
setCamelContext in interface CamelContextAware
getDefaultEndpoint
public String getDefaultEndpoint()
setDefaultEndpoint
public void setDefaultEndpoint(String defaultEndpoint)
- Sets the default endpoint URI used by default for sending message exchanges
getCamelContextId
public String getCamelContextId()
setCamelContextId
public void setCamelContextId(String camelContextId)
getMaximumCacheSize
public Integer getMaximumCacheSize()
setMaximumCacheSize
public void setMaximumCacheSize(Integer maximumCacheSize)
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.