On Dec 12, 10:45 am, Luigi Bifulco <
bifulcolu...@gmail.com> wrote:
> Yes, Sven suggests a good solution i want to add that whatever the "how-to
> implement" it's right to say that from a good design of your application
> event/domain can lead a simple optimization: it's unnecessary to execute
> events of the same type that are olds in terms of time, just the last
> received can do all the work. So if you want
> retroactive consumer (implemented via command pattern or with a bridge with
> a JMS product) i believe u need all events of the same type to be
> processed, otherwise u don't need retroactive consumer so u need only the
> last event and a good design of your application event/domain.
>
> Obviously, stateless event triggers a fetch data, while statefull event
> contains the data to be processed, it's your choice what to do :) good
> working.
>
> Luigi
>