io.xtech.babel.fish

model

package model

Visibility
  1. Public
  2. All

Type Members

  1. trait AggregationConfiguration[I, O] extends AnyRef

    The base trait for all declaration of an aggregator.

    The base trait for all declaration of an aggregator. Each DSL (Babel Camel, Babel Fish) need to create their own aggregation declaration with this trait.

    I

    the message body type before the aggregation.

    O

    the message body type after the aggregation.

  2. case class AggregationDefinition[I, O](configuration: AggregationConfiguration[I, O]) extends StepDefinition with Product with Serializable

    The definition a message filtering in a route.

    The definition a message filtering in a route.

    I

    the body type of the input message.

    O

    the body type after the aggregation.

    configuration

    something the configure the aggregation.

  3. case class BodyConvertorDefinition[I, O](inClass: Class[I], outClass: Class[O]) extends StepDefinition with Product with Serializable

    The definition of a body message conversion.

    The definition of a body message conversion.

    outClass

    the new type of the body message.

  4. case class BodyTypeValidationDefinition[I, O](inClass: Class[I], outClass: Class[O]) extends StepDefinition with Product with Serializable

    The definition of a body type validation.

    The definition of a body type validation.

    outClass

    the required type.

  5. case class ChoiceDefinition[I]() extends ScopeDefinition[WhenDefinition[I]] with Product with Serializable

    The definition of the "choice" block in the DSL.

  6. case class EndpointDefinition[I, O](sink: Sink[I, O], requestReply: Option[Boolean] = None) extends StepDefinition with Product with Serializable

    The definition of a sink in the route.

    The definition of a sink in the route.

    sink

    the sink itself.

  7. trait Expression[-I, +O] extends AnyRef

    The base class for babel expression.

    The base class for babel expression.

    I

    the input type.

    O

    the output type.

  8. case class FilterDefinition[I](predicate: Predicate[I]) extends StepDefinition with Product with Serializable

    The definition of filtering message in a route.

    The definition of filtering message in a route.

    I

    the body type.

    predicate

    the condition used for the filtering.

  9. case class FromDefinition(outClass: Class[_], source: Source[_]) extends StepDefinition with Product with Serializable

    The FromDefinition define the start of the route.

    The FromDefinition define the start of the route.

    outClass

    The type of object generated by the source.

    source

    The source (endpoint) generating the message.

  10. trait Message[+T] extends AnyRef

    A message passing through a route.

    A message passing through a route. It is immutable and all changes create a new message.

    T

    the type of the body.

  11. case class MulticastDefinition[I](sinks: Seq[Sink[I, _]]) extends StepDefinition with Product with Serializable

    The definition of a multicast.

    The definition of a multicast. A multicast routes the same message to multiple endpoints (sink).

    I

    the body type of the input message.

    sinks

    the endpoints.

  12. class OtherwiseDefinition extends StepDefinition

    This class defines a subroute if no other subroutes handle the message.

  13. trait Predicate[-I] extends Expression[I, Boolean]

    The base case for babel predicate.

    The base case for babel predicate.

    I

    the input type.

  14. case class RouteDefinition(from: FromDefinition) extends Product with Serializable

    A RouteDefinition contains the definition of the DSL after it has been build.

    A RouteDefinition contains the definition of the DSL after it has been build.

    from

    the beginning of the route.

  15. class ScopeDefinition[D <: StepDefinition] extends StepDefinition

    defines an EIP which may have several outputs

    defines an EIP which may have several outputs

    Attributes
    protected[io.xtech.babel]
  16. trait Sink[-I, +O] extends AnyRef

    The destination of a route.

    The destination of a route.

    I
    O

  17. trait Source[+O] extends AnyRef

    The source of a route.

    The source of a route.

    O

  18. trait SplitConfiguration extends AnyRef

  19. case class SplitFoldDefinition[I, O, G, H](expression: Expression[I, O], seed: H, fold: (H, G) ⇒ H, stopOnException: Boolean, propagateException: Boolean) extends StepDefinition with SplitConfiguration with Product with Serializable

  20. case class SplitReduceDefinition[I, O, G](expression: Expression[I, O], reduce: (G, G) ⇒ G, stopOnException: Boolean, propagateException: Boolean) extends StepDefinition with SplitConfiguration with Product with Serializable

  21. case class SplitterDefinition[I, O](expression: Expression[I, O], stopOnException: Boolean, propagateException: Boolean) extends StepDefinition with SplitConfiguration with Product with Serializable

    The definition of message splitter.

    The definition of message splitter. It split a message in pieces.

    I

    the message body type.

    O

    the result type after the splitting.

    expression

    how the messages are splitted.

  22. trait StepDefinition extends AnyRef

    A StepDefinition is the base for all Definition in the DSL.

    A StepDefinition is the base for all Definition in the DSL. It define only the next node in the DSL.

  23. case class TransformerDefinition[I, O](expression: Expression[I, O]) extends StepDefinition with Product with Serializable

    The definition of some message transformation.

    The definition of some message transformation.

    I

    the type of the body.

    O

    the type of the body after transformation.

    expression

    how the message is transformed.

  24. case class ValidationError(errorMessage: String, definition: Option[StepDefinition] = None) extends Product with Serializable

    A ValidationError is an error found during the validation phase of the DSL.

    A ValidationError is an error found during the validation phase of the DSL.

    errorMessage

    the error message

    definition

    the definition with an error

  25. class WhenDefinition[I] extends StepDefinition

    This class defines a subroute with a predicate.

    This class defines a subroute with a predicate.

    I

    body type of the message.

Ungrouped