--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.
I'm aware there are others, proper ways of running Akka. :)
Just embedding it like this would make it a much easier sell to the powers that be at the company.
On Fri, Jan 31, 2014 at 6:28 PM, Tin Tvrtković <tinch...@gmail.com> wrote:
I'm aware there are others, proper ways of running Akka. :)
Just embedding it like this would make it a much easier sell to the powers that be at the company.Well, I'd first start with the suggestion from me, and if that for some reason doesn't work, then you'll just have to create an ExecutionServiceConfigurator that uses your container to look up its thread pool.
On Fri, Jan 31, 2014 at 6:56 PM, √iktor Ҡlang <viktor...@gmail.com> wrote:
On Fri, Jan 31, 2014 at 6:28 PM, Tin Tvrtković <tinch...@gmail.com> wrote:
I'm aware there are others, proper ways of running Akka. :)
Just embedding it like this would make it a much easier sell to the powers that be at the company.Well, I'd first start with the suggestion from me, and if that for some reason doesn't work, then you'll just have to create an ExecutionServiceConfigurator that uses your container to look up its thread pool.Passing in the ExecutionContext to the ActorSystem (2.3.0-RC1) would also be a possibility, unless I have missed something.
That sounds great and will be easy. So if I pass in an ExecutionContext, Akka will use only it for threads?
Does Akka care exactly what kind of thread pool is it (unbounded, fixed size...) or is it strictly application dependent?
Thanks, guys!
You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/gbtC8Foo5zo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.
On Jan 31, 2014 7:58 PM, "Tin Tvrtković" <tinch...@gmail.com> wrote:
>
> That sounds great and will be easy. So if I pass in an ExecutionContext, Akka will use only it for threads?
If you want to make sure Akka doesn't create any threads then you'll have to create your own Scheduler too (the default creates its own thread)
Not sure if Akka IO can be made not to create any threads-you'll have to check.
I still recommend to ditch the AS.
Cheers,
V
To everyone suggesting ditching the AS: you're preaching to the choir here, which is why I was trying to use Akka in the first place. Unfortunately, migrating from JBoss and the EE stack in general is unlikely to happen, at least on the project/product I'm working on.
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.