org.apache.camel.spring
Class CamelTemplateFactoryBean

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.spring.CamelTemplateFactoryBean
All Implemented Interfaces:
CamelContextAware, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class CamelTemplateFactoryBean
extends IdentifiedType
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, CamelContextAware

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

Version:
$Revision: 663796 $

Constructor Summary
CamelTemplateFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 CamelContext getCamelContext()
           
 String getDefaultEndpoint()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setCamelContext(CamelContext camelContext)
           
 void setDefaultEndpoint(String defaultEndpoint)
          Sets the default endpoint URI used by default for sending message exchanges
 
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

CamelTemplateFactoryBean

public CamelTemplateFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getCamelContext

public CamelContext getCamelContext()

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



Copyright © 2008 Apache Software Foundation. All Rights Reserved.