I am currently in the process of writing my own plugin for the Akka 
SyncWriteJournal API to implement the connection with HSQLDB.

The problem is that I do no understand the requirements for the method 
doAsyncReplayMessages. It states that it needs to return a future and that 
all the messages should be called by replayCallback.

Let's say that I have a query which returns a list of messages: 
List<Message> messages. Can anyone provide a minimal example (with 
explanation) of how to use replayCallback, and Future to implement the 
method correctly by using that list? How would replayCallback and Future 
work together and what should be returned by the method 
doAsyncReplayMessages?

Thanks!

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to