---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
The aggregator routers (not aggregator endpoints) have logic built into
them that enables the router to know when all constituent parts of a
message have been received.
Example:
If I want a router that will wait for message A, message B and message
C, the routing code in the router will know that:
- If message A is received, it will wait.
- if message B or C is received, it will wait.
- Once the last message is received, it will combine the three
(aggregate) into a new message and pass that to the component.
Aggregators can aggregate based upon type of message, number of messages
or message size perhaps.
In your case, you need to develop a new aggregator router of your own,
it seems. Some more info is available on my blog:
http://ricston.com/blog/?p=77
HTH
A
adu1 wrote:
> I have a service component that sends out messages to multiple endpoints.
> Depending on the logic, it could send out the message to 1, 2 or more than 3
> end-points. The response is required to be collected and returned. I wanted
> to understand how the correlation aggregrator or the response correlator
> aggregrator works. How do these, i.e aggregrators, inbound-endpoints know
> that that it will receive 1 , 2 or more than 3 responses. What does the
> application have to do to ensure that the aggregrator inbound endpoints have
> the context of the messages sent before. Do such routers wait for a default
> time period and then report the Event Groups. I had a look at the loan
> broker example but do not understand how the aggregrator inbound router
> knows that how many banks will respond.
>
--
Antoine Borg, Director of Services | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM
See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/
email: _antoin...@ricston.com <mailto:antoin...@ricston.com> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>
--
View this message in context: http://www.nabble.com/Correlation-Aggregrator-tp25635635p25641678.html
Sent from the Mule - User mailing list archive at Nabble.com.
A