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:
org.springframework.beans.factory.FactoryBean<List<RouteDefinition>>
@Metadata(label="spring,configuration,routing") public class CamelRouteContextFactoryBean extends IdentifiedType implements org.springframework.beans.factory.FactoryBean<List<RouteDefinition>>
Configuration of routes using XML
-
-
Constructor Summary
Constructors Constructor Description CamelRouteContextFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RouteDefinition>
getObject()
Class<?>
getObjectType()
List<RouteDefinition>
getRoutes()
boolean
isSingleton()
void
setRoutes(List<RouteDefinition> routes)
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Constructor Detail
-
CamelRouteContextFactoryBean
public CamelRouteContextFactoryBean()
-
-
Method Detail
-
getObject
public List<RouteDefinition> getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<List<RouteDefinition>>
- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<List<RouteDefinition>>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<List<RouteDefinition>>
-
getRoutes
public List<RouteDefinition> getRoutes()
-
setRoutes
public void setRoutes(List<RouteDefinition> routes)
-
-