org.apache.camel.spring.util
Class SimpleRouteBuilder
java.lang.Object
org.apache.camel.builder.BuilderSupport
org.apache.camel.builder.RouteBuilder
org.apache.camel.spring.util.SimpleRouteBuilder
- All Implemented Interfaces:
- Routes
public class SimpleRouteBuilder
- extends RouteBuilder
A simple RouteBuilder
which can be configured directly with one or more from URIs, zero or more to URIs
and an optional bean processing step.
- Version:
- $Revision: 641676 $
Methods inherited from class org.apache.camel.builder.RouteBuilder |
addRoutes, checkInitialized, configureRoute, createContainer, errorHandler, exception, from, from, getContext, getRouteCollection, getRouteList, inheritErrorHandler, intercept, intercept, intercept, noStreamCaching, onException, onException, populateRoutes, setErrorHandlerBuilder, setInheritErrorHandler, setRouteCollection, streamCaching, toString |
Methods inherited from class org.apache.camel.builder.BuilderSupport |
body, body, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, deadLetterChannel, endpoint, endpoint, endpoints, endpoints, faultBody, faultBodyAs, getErrorHandlerBuilder, header, isInheritErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, setContext, systemProperty, systemProperty |
SimpleRouteBuilder
public SimpleRouteBuilder()
configure
public void configure()
throws Exception
- Specified by:
configure
in class RouteBuilder
- Throws:
Exception
setFromUri
public void setFromUri(String uri)
setToUri
public void setToUri(String uri)
getFromUris
public List<String> getFromUris()
setFromUris
public void setFromUris(List<String> fromUris)
getToUris
public List<String> getToUris()
setToUris
public void setToUris(List<String> toUris)
getBeanClass
public String getBeanClass()
setBeanClass
public void setBeanClass(String beanClass)
getBeanRef
public String getBeanRef()
setBeanRef
public void setBeanRef(String beanRef)
getBeanType
public Class getBeanType()
setBeanType
public void setBeanType(Class beanType)
getBeanMethod
public String getBeanMethod()
setBeanMethod
public void setBeanMethod(String beanMethod)
addBeanCall
protected void addBeanCall(ProcessorType route)
singletonList
protected List<String> singletonList(String value)
Apache CAMEL