Hi Aaron,

withMailbox refers to a configuration section of the mailbox type, i.e. use
this instead

withMailbox("single-consumer-mailbox")

and in your application.conf:

single-consumer-mailbox {
  mailbox-type = "akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
}

Cheers,
Patrik


On Fri, Apr 18, 2014 at 2:47 AM, Aaron Schlesinger <arsch...@gmail.com>wrote:

> Hello -
>
> I'm trying to spawn an actor that has the aforementioned mailbox. The docs
> seem clear that I can specify , but I'm getting a ConfigurationException on
> spawn. The code in the below gist fails with a ConfigurationException, and
> when I add mailbox-type =
> "akka.dispatch.SingleConsumerOnlyUnboundedMailbox" to my config, the
> property seems to get ignored (according to props.mailbox). Does anyone
> know what's going on here?
>
> https://gist.github.com/arschles/11018808.
>
> Thanks in advance,
> Aaron
>
> --
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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