io.xtech.babel.camel.model

Aggregation

Related Doc: package model

object Aggregation

facility object containing the required definitions to build an Aggregation EIP, used in user routes.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Aggregation
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class CamelAggregation[I, G](correlationExpression: Expression[I, G], aggregationStrategy: AggregationStrategy, completionStrategies: Seq[CompletionStrategy]) extends AggregationConfiguration[I, Any] with Product with Serializable

    Uses the camel way to define an aggregation

    Uses the camel way to define an aggregation

    I

    the message body type before the aggregation.

    G

    the type of the correlation key.

    correlationExpression

    how the message are grouped.

    aggregationStrategy

    how the aggregation is done with an AggregationStrategy.

    completionStrategies

    when the aggregation are complete.

  2. case class CamelReferenceAggregation[I, G](correlationExpression: Expression[I, G], aggregationRef: String, completionStrategies: Seq[CompletionStrategy]) extends AggregationConfiguration[I, Any] with Product with Serializable

    Uses the camel way to define an aggregation

    Uses the camel way to define an aggregation

    I

    the message body type before the aggregation.

    G

    the type of the correlation key.

    correlationExpression

    how the message are grouped.

    aggregationRef

    how the aggregation is done using a reference in the Camel Registry.

    completionStrategies

    when the aggregation are complete.

  3. case class CompletionInterval(time: Long) extends CompletionStrategy with Product with Serializable

    Completes an aggregation after a lapse of time.

    Completes an aggregation after a lapse of time.

    time

    the lapse of time in milliseconds

  4. case class CompletionSize(size: Int) extends CompletionStrategy with Product with Serializable

    Completes an aggregation by number of messages.

    Completes an aggregation by number of messages.

    size

    the number of messages

  5. sealed trait CompletionStrategy extends AnyRef

    Base trait for all the possible ways to complete an aggregation.

  6. case class CompletionTimeout(time: Long) extends CompletionStrategy with Product with Serializable

    Completes an aggregation after an inactivity period.

    Completes an aggregation after an inactivity period.

    time

    the period in milliseconds

  7. case class FoldBody[I, O, G](seed: O, fold: (O, I) ⇒ O, groupBy: (Message[I]) ⇒ G, completionStrategies: Seq[CompletionStrategy]) extends AggregationConfiguration[I, O] with Product with Serializable

    Cumulate a single result using a start value and the message bodies.

    Cumulate a single result using a start value and the message bodies.

    I

    the message body type before the aggregation.

    O

    the message body type after the aggregation and the type of the start value.

    G

    The type of the key use for grouping.

    seed

    the start value.

    fold

    the function that cumulates.

    groupBy

    how the message are grouped.

    completionStrategies

    when the aggregation are complete.

  8. case class ReduceBody[I, G](reduce: (I, I) ⇒ I, groupBy: (Message[I]) ⇒ G, completionStrategies: Seq[CompletionStrategy]) extends AggregationConfiguration[I, I] with Product with Serializable

    Cumulates a single result using message bodies.

    Cumulates a single result using message bodies.

    I

    the message body type before the aggregation.

    G

    The type of the key use for grouping.

    reduce

    the function that cumulates.

    groupBy

    how the message are grouped.

    completionStrategies

    when the aggregation are complete.

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. object CompletionFromBatchConsumer extends CompletionStrategy with Product with Serializable

    Completes an aggregation when all messages from a batch are received.

  5. object ForceCompletionOnStop extends CompletionStrategy with Product with Serializable

    Completes an aggregation when the context is stopped.

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped