Hi Fabrizio

> Just for the record, my code is such as:
>
>            final String path =
> "/media/Media/Photography/Photos/Incoming/2011/September";
>            final UnitOfWork unitOfWork =
> FileScanRequestMessage.forPath(path).send();
>            unitOfWork.waitForCompletion(); // yeah, not very actor-oriented,
> but the world is made of mixed stuff

I'm a bit lost here. Is unitOfWork sending a broadcast message to other actors?

which kind of magic is behind
@Message, @Actor and @MessageListener? :)

I like your code, but I'd like to see a more complete example of how
using 2-3 actors together for doing async tasks.


Uberto

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to