io.xtech.babel.camel.builder

SpringRouteBuilder

trait SpringRouteBuilder extends RouteBuilder

The SpringRouteBuilder is helpful to define Babel Camel routes which are dealing with Spring Beans. As those beans may not have been initialized, the Babel Camel routes should be define in the body of the configure method.

Linear Supertypes
RouteBuilder, RoutesBuilder, CamelDSL, Validation, WireTap, RouteConfiguration, RecipientList, Handler, Resequencer, Sort, Log, Enricher, RouteId, Marshaller, Transformation, Transaction, Aggregation, Basics, CamelParsing, StepProcessor[org.apache.camel.builder.RouteBuilder], Parsing[org.apache.camel.builder.RouteBuilder], DSL, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SpringRouteBuilder
  2. RouteBuilder
  3. RoutesBuilder
  4. CamelDSL
  5. Validation
  6. WireTap
  7. RouteConfiguration
  8. RecipientList
  9. Handler
  10. Resequencer
  11. Sort
  12. Log
  13. Enricher
  14. RouteId
  15. Marshaller
  16. Transformation
  17. Transaction
  18. Aggregation
  19. Basics
  20. CamelParsing
  21. StepProcessor
  22. Parsing
  23. DSL
  24. AnyRef
  25. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Process = PartialFunction[StepInformation[org.apache.camel.builder.RouteBuilder], Any]

    Definition Classes
    Parsing

Abstract Value Members

  1. abstract def configure(): Unit

    The configure method should contain the Babel Camel route definition.

    The configure method should contain the Babel Camel route definition. It ensures the used Spring Beans are initialized before initializing the route definitions. Used by the Camel RouteBuilder to load defined Babel Camel routes in the calling Camel Context.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addRoutesToCamelContext(context: CamelContext): Unit

    adds the generated routes to the given Camel Context.

    adds the generated routes to the given Camel Context. Used by Spring to populate a Camel Context while scanning the package (though xml configuration)

    context

    to be populated with generated routes

    Definition Classes
    SpringRouteBuilderRouteBuilder → RoutesBuilder
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def bodyFunctionToProcess[I, O](function: (I) ⇒ O): Processor

    Definition Classes
    Transformation
  9. implicit def booleanAsPredicate[Any](bool: Boolean): BodyPredicate[Any]

    Definition Classes
    Handler
  10. def build(): Set[RouteDefinition]

    Attributes
    protected[io.xtech.babel]
    Definition Classes
    DSL
  11. implicit def camelMessage[I](msg: Message[I]): CamelMessage[I]

    Attributes
    protected
    Definition Classes
    CamelDSL
  12. implicit def camelPredicate(pred: Predicate): CamelPredicateWrapper

    Definition Classes
    CamelDSL
  13. implicit def camelPredicateExpression(exp: Expression with Predicate): CamelExpressionWrapper

    Definition Classes
    CamelDSL
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. implicit def enrichDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): EnricherDSL[I]

    Definition Classes
    Enricher
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def from[O, S](source: S)(implicit arg0: ClassTag[O], convert: (S) ⇒ Source[O]): FromDSL[O]

    Definition Classes
    DSL
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def handle(block: (HandlingDSL[Any]) ⇒ Unit): NoDSL

    defines a set of rules that are applied on the RouteBuilder itself and not on a route.

    defines a set of rules that are applied on the RouteBuilder itself and not on a route.

    block

    is the rules to be applied to the RouteBuilder

    returns

    end of DSL: it is not possible to add other keywords to the current DSL.

    Attributes
    protected
    Definition Classes
    RouteBuilder
  22. implicit def handlerDSLExtension[I](baseDsl: FromDSL[I])(implicit arg0: ClassTag[I]): HandlerDSL[I]

    Definition Classes
    Handler
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. implicit def logDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): LogDSL[I]

    Definition Classes
    Log
  26. implicit def marshallerDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): MarshallerDSL[I]

    Definition Classes
    Marshaller
  27. def messageFunctionToProcess[I, O](function: (Message[I]) ⇒ Message[O]): Processor

    Definition Classes
    Transformation
  28. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def process[T](step: StepDefinition, previous: T)(implicit routeBuilder: org.apache.camel.builder.RouteBuilder): Unit

    Attributes
    protected[io.xtech.babel.camel]
    Definition Classes
    CamelDSL
  32. final def processSteps(info: StepInformation[org.apache.camel.builder.RouteBuilder]): Unit

    Attributes
    protected[io.xtech.babel]
    Definition Classes
    StepProcessor
    Annotations
    @tailrec()
  33. implicit def recipientListDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): RecipientListDSL[I]

    Definition Classes
    RecipientList
  34. implicit def resequencerDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): ResequencerDSL[I]

    Definition Classes
    Resequencer
  35. def routeBuilder(routeDefinitions: Seq[RouteDefinition])(implicit camelContext: ModelCamelContext): org.apache.camel.builder.RouteBuilder

    Creates a Camel RouteBuilder from DSL Definition.

    Creates a Camel RouteBuilder from DSL Definition. The RouteBuilder can be used to declare the routes in a CamelContext.

    routeDefinitions

    A Seq of route definition builded by the Babel fish DSL.

    returns

    a new camel route builder.

    Attributes
    protected[io.xtech.babel.camel]
    Definition Classes
    CamelDSL
  36. implicit def routeConfigurationDSLExtension[I](baseDsl: FromDSL[I])(implicit arg0: ClassTag[I]): RouteConfigurationDSL[I]

    Definition Classes
    RouteConfiguration
  37. implicit def routeIdDSLExtension[I](baseDsl: FromDSL[I])(implicit arg0: ClassTag[I]): RouteIdDSL[I]

    Definition Classes
    RouteId
  38. implicit def sortDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): SortDSL[I]

    Definition Classes
    Sort
  39. def steps: Seq[Process]

    Definition Classes
    Validation → Parsing
  40. implicit def stringSink(uri: String): CamelSink[Any]

    Definition Classes
    CamelDSL
  41. implicit def stringSinks(uris: Seq[String]): Seq[CamelSink[Any]]

    Definition Classes
    CamelDSL
  42. implicit def stringSource(uri: String): CamelSource

    Definition Classes
    CamelDSL
  43. implicit def subRouteDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): SubRouteDSL[I]

    Definition Classes
    Basics
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. def toProcessor[I, O](function: (I) ⇒ O): CamelBodyProcessor[I, O]

    Definition Classes
    Transformation
  46. def toString(): String

    Definition Classes
    AnyRef → Any
  47. implicit def transactedDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): TransactionDSL[I]

    Definition Classes
    Transaction
  48. implicit def transformationDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): TransformationDSL[I]

    Definition Classes
    Transformation
  49. implicit def validationDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): ValidationDSL[I]

    Definition Classes
    Validation
  50. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. implicit def wiretapDSLExtension[I](baseDsl: BaseDSL[I])(implicit arg0: ClassTag[I]): WireTapDSL[I]

    Definition Classes
    WireTap

Inherited from RouteBuilder

Inherited from RoutesBuilder

Inherited from CamelDSL

Inherited from Validation

Inherited from WireTap

Inherited from RouteConfiguration

Inherited from RecipientList

Inherited from Handler

Inherited from Resequencer

Inherited from Sort

Inherited from Log

Inherited from Enricher

Inherited from RouteId

Inherited from Marshaller

Inherited from Transformation

Inherited from Transaction

Inherited from Aggregation

Inherited from Basics

Inherited from CamelParsing

Inherited from StepProcessor[org.apache.camel.builder.RouteBuilder]

Inherited from Parsing[org.apache.camel.builder.RouteBuilder]

Inherited from DSL

Inherited from AnyRef

Inherited from Any

Ungrouped