With 
EventsourceProcessor<http://doc.akka.io/docs/akka/2.3.2/scala/persistence.html#Event_sourcing>you
handle replayed events in receiveRecover.

With 
Processor<http://doc.akka.io/docs/akka/2.3.2/scala/persistence.html#Processors>you
can query recoveryRunning.

Regards,
Patrik


On Tue, Apr 22, 2014 at 12:01 AM, erich oliphant
<[email protected]>wrote:

> Hi, I'm just wondering what, when using the Eventsourcing,etc in
> akka-persistence, is the best way to handle events that shouldn't be
> replayed.  Or perhaps better expressed, letting event handlers know a
> replay is happening such that those who shouldn't act during a replay
> don't.  So that say a 'UserAdded' event would update a read/view model, but
> not send an email during a replay.
>
> 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.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw
JOIN US. REGISTER TODAY! <http://www.scaladays.org/>
Scala <http://www.scaladays.org/>
Days <http://www.scaladays.org/>
June 16th-18th, <http://www.scaladays.org/>
Berlin <http://www.scaladays.org/>

-- 
>>>>>>>>>>      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