Package org.apache.camel.spring.xml
Class CamelEndpointFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.Endpoint>
org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
org.apache.camel.spring.xml.CamelEndpointFactoryBean
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
,org.apache.camel.spi.HasCamelContext
,Aware
,FactoryBean<org.apache.camel.Endpoint>
,ApplicationContextAware
@Metadata(label="spring,configuration,endpoint")
public class CamelEndpointFactoryBean
extends org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
implements FactoryBean<org.apache.camel.Endpoint>, ApplicationContextAware
Camel endpoint configuration
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.camel.CamelContext
getCamelContextWithId
(String camelContextId) org.apache.camel.Endpoint
getRef()
void
setApplicationContext
(ApplicationContext applicationContext) void
Methods inherited from class org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
getObjectType, getProperties, getUri, setProperties, setUri
Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean
afterPropertiesSet, destroy, discoverDefaultCamelContext, getCamelContext, getCamelContextId, getCustomId, isSingleton, setCamelContext, setCamelContextId, setCustomId
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
getObjectType, isSingleton
-
Constructor Details
-
CamelEndpointFactoryBean
public CamelEndpointFactoryBean()
-
-
Method Details
-
getCamelContextWithId
- Specified by:
getCamelContextWithId
in classorg.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.Endpoint>
-
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<org.apache.camel.Endpoint>
- Overrides:
getObject
in classorg.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
- Throws:
Exception
-
getRef
-
setRef
-