integration_core 1.0.2

Download zip

class: integration_core_module

[8:14] static extends: object

Module JAR loader class.

Methods

class: ScatterGather

[258:14] (extern: com.lehman.aussom.ScatterGather) extends: object

ScatterGather sends the same payload to several recipient callbacks across a bounded thread pool and blocks until every recipient has finished. Each recipient's return value becomes its result, gathered in recipient order.

Methods

class: IdempotentReceiver

[399:7] extends: object

IdempotentReceiver is a thread-safe duplicate filter. receive(Id) returns true the first time an id is seen and false for every repeat, so the caller can process a new message once and drop the duplicates. Seen ids are kept in a mutable in-memory map by default, or in a JDBC table when a Jdbc is set, for a store that survives a restart and can be shared. A single-permit Semaphore from the concurrent library makes the check-and-record one atomic step, so receive is safe to call from many threads at once.

Members

Methods

class: IMessage

[26:7] extends: object

IMessage is the standard message type passed between the EIP tools. It holds message metadata, the content type, the body, and a correlation id. It is a plain Aussom value type so it works in both the Aussom CLI and Aussom Server.

Members

Methods

class: ParallelForeach

[210:14] (extern: com.lehman.aussom.ParallelForeach) extends: object

ParallelForeach runs a callback over each value in a list across a bounded thread pool and blocks until every value has been processed. The callback's return value becomes that value's result.

Methods

class: Pipeline

[307:7] extends: object

Pipeline runs a value through an ordered list of step callbacks, each step's output feeding the next. A step returns the next value to continue, or null to drop the value and stop the chain. It is the sequential sibling of ParallelForeach and is pure Aussom, since it is a simple loop over the steps.

Members

Methods

class: IntegrationCore

[17:14] (extern: com.lehman.aussom.IntegrationCore) extends: object

This extern class is a link to the .java file.

Methods

class: iutils

[138:14] static extends: object

iutils provides static helper functions for the EIP tools.

Methods