eclipselabs / passerelle

Passerelle, an actor-based process engine based on Ptolemy II
5 stars 3 forks source link

Add support for multiple sequences/groups for a message #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Passerelle messages can be part of a so-called "message sequence". When this is 
the case, the message knows the sequence ID, its position in the sequence and 
whether it is the last element in it. 

This can be used in different ways, e.g. to stream large data volumes in chunks 
through a flow, but also to be able to distribute messages through different 
flow branches and to be able to regroup them later. E.g. this is used for 
Fork/Join implementations as well.

For the moment, a message can only be part one such sequence at a time.
This complicates the implementation of nested Fork/Joins.

It would be good if we could maintain multiple sets of sequence allocations in 
a message.

Original issue reported on code.google.com by erwin...@gmail.com on 1 Feb 2012 at 9:03

GoogleCodeExporter commented 9 years ago
Alternative solution has been built for nested Fork/Join scopes.

Original comment by erwin...@gmail.com on 8 Jun 2012 at 2:43