Package org.apache.camel.spring.xml
Class CamelRouteContextFactoryBean
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.spring.xml.CamelRouteContextFactoryBean
-
- All Implemented Interfaces:
FactoryBean<List<org.apache.camel.model.RouteDefinition>>
@Metadata(label="spring,configuration,routing") public class CamelRouteContextFactoryBean extends org.apache.camel.model.IdentifiedType implements FactoryBean<List<org.apache.camel.model.RouteDefinition>>
Configuration of routes using XML
-
-
Field Summary
-
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description CamelRouteContextFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.camel.model.RouteDefinition>
getObject()
Class<?>
getObjectType()
List<org.apache.camel.model.RouteDefinition>
getRoutes()
boolean
isSingleton()
void
setRoutes(List<org.apache.camel.model.RouteDefinition> routes)
-
-
-
Constructor Detail
-
CamelRouteContextFactoryBean
public CamelRouteContextFactoryBean()
-
-
Method Detail
-
getObject
public List<org.apache.camel.model.RouteDefinition> getObject() throws Exception
- Specified by:
getObject
in interfaceFactoryBean<List<org.apache.camel.model.RouteDefinition>>
- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceFactoryBean<List<org.apache.camel.model.RouteDefinition>>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceFactoryBean<List<org.apache.camel.model.RouteDefinition>>
-
-