Index Changes
This is version 1. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
Fuji Home

Aggregate Enterprise Integration Pattern Extensibility: IFL


A "java" type can be specified for the Aggregate EIP, this extends aggregate to invoke simple POJO's to perform the aggregation task.


The "java" type can be specified for aggregate as follows:

With external configuration

    aggregate java "myaggregate"

With inline configuration

    aggregate java ("name=value,*")

Aggregator POJO

When the "java" type is specified for aggregate, a user defined POJO is plugged into the framework for aggregation.

A template POJO which implements the Aggregate EIP extension interface is generated in the application's space, this POJO can be updated by a developer to customize the aggregation behaviour.

The default package and class name of the generated Aggregate POJO defaults to "aggregate.{aggregateName}" and "Aggregator". In case the configuration is external, then aggregateName = externalConfigName, if it's inline then the aggregateName is a system generated name. A user can specify a classname/packagename in the configuration to override the defaults.

For example:

With external configuration

    aggregate java "myaggregate"

The Aggregate POJO has :

    packagename = aggregate.myaggregate
    classname   = Aggregator

Location of the generated source file:


JSPWiki v2.4.100
« Home Index Changes Prefs
This particular version was published on 10-Apr-09 14:24 PM, -0700 by Nikita