Hello,
I'm using spray for handling Http connections/closes/responses, etc and I
have this in my receive of my akka
Here i'm spawning a new actor each connection:
def receive = {
case Http.Connected(_, _) => {
sender !
Http.Register(context.actorOf(Props(classOf[ApiServ
ervice)]
On Sat, Jun 21, 2014 at 12:44 PM, Владимир Морозов
wrote:
> Hi,
>
> you can try this code:
> val actorRef =
> Await.result(system.actorSelection(actorName).resolveOne()(resolveTimeout),
> awaitTimeout)
>
> best regards, Vladimir
>
> суббота, 21 июня
Hello,
I'm trying to get an ActorRef from an ActorSelection and my knowledge of
Futures is a bit limited.
This is my embarrassing attempt:
val webSocketWorker =
context.actorSelection("user/websocket-worker")
webSocketWorker.resolveOne {
actorRef: ActorRef =>
Hello.
I'm defining two sets of actors, in two different actor systems (to get
around an outstanding bug with a third party project...) any who, I need to
get a ActorRef from one actor, that's inside of a completely different
ActorSystem.
How can I do this?
Here's some code. (Setting up actor
Hello,
I just updated to Akka 2.3.3 and I'm getting INFO message about retrieving
Metrics via MBeans?
Metrics will be retreived from MBeans, and may be incorrect on some
platforms. To increase metric accuracy add the 'sigar.jar' to the classpath
and the appropriate platform-specific native lib
> log4j.logger.com.live-bar-app=INFO
>
> If you don't need rolling logs delete the related entries and there you go.
>
> Jorge.
>
> El martes, 17 de junio de 2014 22:44:46 UTC-4, Troy Payne escribió:
>
>> Martynas,
>>
>> What if I want akka to just log to
doc.akka.io/docs/akka/snapshot/java/logging.html#slf4j
> 2014 birž. 17 01:54 "Troy Payne" > rašė:
>
>> Hello,
>>
>> I'm having trouble resolving the following:
>>
>> 1. Waiting for source changes... (press enter to interrupt)
>>
>
Hello,
I'm having trouble resolving the following:
1. Waiting for source changes... (press enter to interrupt)
c0smo [DEBUG] [06/16/2014 21:22:08.758] [main] [EventStream]
StandardOutLogger started
c0smo[ERROR] SLF4J: Failed to load class
"org.slf4j.impl.StaticLoggerBinder".
c0smo[ERROR] SLF
Hello,
My router looks like this:
trait JsonRouterTrait extends HttpService with StateMarshaller with Conf {
implicit val jsonTimeout: Timeout = Duration(8, SECONDS)
def gameService = actorRefFactory.actorSelection("/user/game-service")
val jsonRoutes =
(get & pathPrefix(vConf)