According the official Akka stash doc you can decide to use a Stash trait that does not enforce any mailbox type see UnrestrictedStash.
If you use UnrestrictedStash you can configure manually the proper mailbox as long as it extends the akka.dispatch.DequeBasedMessageQueueSemantics marker trait.
You can manually configure your BoundedMailbox mailbox following the mailboxes doc with something like :
bounded-mailbox {
mailbox-type = "akka.dispatch.BoundedDequeBasedMailbox"
mailbox-capacity = 1000
mailbox-push-timeout-time = 10s
}
akka.actor.mailbox.requirements {
"akka.dispatch.BoundedDequeBasedMessageQueueSemantics" = bounded-mailbox
}
I did not try it myself but it should work.
Edit : what version of Akka are you using? Looks like the stash trait definition changed with the version 2.2.0