Hi, I'm not sure that I understand what you are trying to achieve. The Persistent messages that you send to an Processor, or in the case of the EventsourcedProcessor the events it persists, are meant for the Processor. The sequence numbering is internal to the Processor and used for recovery. Why would you want to get a specific message with a specific sequence number from the outside?
B/ On 13 May 2014 at 19:15:17, 何品 ([email protected]) wrote: Hi,currently there is no war to retrieve one specified message from the processor, the only way i think is using an hashmap to keep it on Recover right? and the EP's persist(message ,callback) ,I think the callback should provide the persistence message's seqNr too,currently I need to use the lastSeqNr or getCurrentPersistenceMessage.seqNr to get It,I don't know is that right.but On my test ,the next persistence message will be lastSeqNr +1. so If I can't retrieve message from the processor,so I need a db or somewhat right?and can only use the processor to store state, but not whole information? -- >>>>>>>>>> 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. -- Björn Antonsson Typesafe – Reactive Apps on the JVM twitter: @bantonsson JOIN US. REGISTER TODAY! Scala Days June 16th-18th, Berlin -- >>>>>>>>>> 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.
