org.apache.camel.spring.model
Class RouteType

java.lang.Object
  extended by org.apache.camel.spring.model.ProcessorType
      extended by org.apache.camel.spring.model.OutputType
          extended by org.apache.camel.spring.model.RouteType
All Implemented Interfaces:
org.apache.camel.builder.ProcessorFactory, org.apache.camel.CamelContextAware

public class RouteType
extends OutputType
implements org.apache.camel.CamelContextAware, org.apache.camel.builder.ProcessorFactory

Represents an XML <route/> element

Version:
$Revision: $

Field Summary
 
Fields inherited from class org.apache.camel.spring.model.OutputType
outputs
 
Constructor Summary
RouteType()
           
 
Method Summary
 org.apache.camel.Processor createProcessor()
           
 RouteType from(String uri)
           
 org.apache.camel.CamelContext getCamelContext()
           
 List<FromType> getInputs()
           
 RouteType interceptor(String ref)
           
 RouteType interceptors(String... refs)
           
protected  org.apache.camel.Endpoint resolveEndpoint(String uri)
           
 void setCamelContext(org.apache.camel.CamelContext camelContext)
           
 void setInputs(List<FromType> inputs)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.spring.model.OutputType
filter, filter, getInterceptors, getOutputs, setInterceptors, setOutputs, to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteType

public RouteType()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getInputs

public List<FromType> getInputs()

setInputs

public void setInputs(List<FromType> inputs)

getCamelContext

public org.apache.camel.CamelContext getCamelContext()

setCamelContext

public void setCamelContext(org.apache.camel.CamelContext camelContext)
Specified by:
setCamelContext in interface org.apache.camel.CamelContextAware

createProcessor

public org.apache.camel.Processor createProcessor()
                                           throws Exception
Specified by:
createProcessor in interface org.apache.camel.builder.ProcessorFactory
Throws:
Exception

resolveEndpoint

protected org.apache.camel.Endpoint resolveEndpoint(String uri)

from

public RouteType from(String uri)

interceptor

public RouteType interceptor(String ref)

interceptors

public RouteType interceptors(String... refs)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.