Open barbolani opened 9 years ago
Sorry about the state of the docs. I will try to fix that shortly.
Not sure what your code example is showing. You can download the project and see the sample code run. You should not need to call the Extension system to use AkkaGuice.
Wow, that was a quick reply. If the extension system is not needed, then how can I create an actor in an specific actor system?
There are basically two ways. One way is to inject an actor into your class. For example of this take a look at the constructor of the sample controller:
https://github.com/chanan/AkkaGuice/blob/master/app/controllers/Application.java#L20
The second way is you can create actor on demand either by name:
https://github.com/chanan/AkkaGuice/blob/master/app/services/HelloActor.java#L23
or the "normal" way by class:
https://github.com/chanan/AkkaGuice/blob/master/app/services/HelloActor.java#L26
@barbolani Did you get this to work or do you still have issues?
Guess this is a suggestion more than an issue. Would make it clear to have a couple of changes?