Clearing them would mean rewriting the file.

On Tue, Oct 27, 2015 at 5:36 AM, Akash Thomas <[email protected]>
wrote:

> Hi All,
>
> I am new to Akka development.
>
> I was trying to use FileBasedMailboxType and noticed that messages in the
> file doesn't get cleared even after the messages are delivered to the
> Actor. I was expecting all consumed messages to be cleared, please correct
> me if  I am wrong.
>
> Can you help me understand this?
>
> -sender
>
>         final ActorRef actorRef = actorSystem.actorOf(Props
>
> .create(Master.class).withDispatcher("akka.dabba-actor-system.my-dispatcher"),"master-actor");
>         actorRef.tell(new Day(), null);
>
>
> -receiver
>
>     public void onReceive(Object msg) throws Exception {
>         if (msg instanceof Day) {
>             log.info("Master Actor : Starting Day");
>         }
>     }
>
> Thanks
> Akash
>
> --
> >>>>>>>>>> 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.
>



-- 
Cheers,
√

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