Questions tagged [actorsystem]

Actor System is a group of actors(concurrent processes)with common configurations, which are managed hierarchically. It is the entry point for creating or looking up actors.

17 questions
6
votes
1 answer

Akka 2.6 how to read `Dead Letters` in Akka Typed?

I have read this doc https://doc.akka.io/docs/akka/current/general/message-delivery-reliability.html#dead-letters, which says: An actor can subscribe to class akka.actor.DeadLetter on the event stream, see Event Stream for how to do that. in the…
mahengyang
  • 289
  • 2
  • 16
3
votes
0 answers

How to capture an Dispatcher.Invoke call on a actor?

I have a Windows Service with an Akka.NET Actor System. In one actor I use an external .NET component (HAL | Facade Pattern) that uses an event-based design to listen devices cross network, I create the instance of the component on the actor and…
gemr1423
  • 739
  • 2
  • 11
  • 33
2
votes
0 answers

C# Akka multithreaded creating of actors

I created singleton wrapper over ActorSystem using System; using System.IO; using System.Linq; using System.Threading; using System.Xml.Linq; using Akka.Actor; using Akka.Configuration; namespace AkkaPOC { public sealed class ActorsDirector :…
EgoPingvina
  • 734
  • 1
  • 10
  • 33
1
vote
1 answer

How to make Python Thespian Actor framework work with nested Actors?

I am trying to run a very simple example using Thespian Actors in witch one actor lauches another. from thespian.actors import * import logging logging.basicConfig(level=logging.DEBUG) class serviceA(Actor): def __init__(self): …
1
vote
1 answer

How to represent communication with other object of the same class in UML sequence diagram?

I have a question regarding UML sequence diagram. I have actor system, where I have many objects (actors) of the same class communicating with each other. The number of actors depends on the problem, but it is too large to draw them all. I have also…
quikq
  • 347
  • 2
  • 13
1
vote
1 answer

Connecting to wildcard ip 0.0.0.0 works in a container, but not on the host

I am having a strange behaviour on my akka Project. To summarize: I have two Actorsystems running on my hostsystem and want to connect from one to another to send messages. Now the Problem is, when I use the following akka configuration on my…
marcels93
  • 55
  • 9
1
vote
1 answer

Are there patterns for writing a library that hides its actor system implementation?

All of the actor system implementations I have seen (primarily using Akka) presume a web app, meaning an HTTP interface that can quite naturally be served by an asynchronous actor system. But what if I'm writing a desktop app, or a library to be…
Leo Orientis
  • 841
  • 11
  • 19
0
votes
0 answers

Akka actor receiving messages from mailbox while Actor system termination is in progress

I have my java application uses Akka framework for message routing. During application startup I create Actor System and then creates number of top level actors (via actorSystem.actorOf()). Now while shutting down my application, I call…
Rajat
  • 103
  • 2
  • 12
0
votes
0 answers

Scala akka can't create root actor for persistant actor? "Default journal plugin is not configured, see 'reference.conf'"

I'm struggling sooo hard with akka, whenever I try to create persistant actor I get an exception, for a simple actor it works fine, but with this implementation I get an error. I've tried EVERYTHING, even adding stuff to the application.conf file.…
matkenis
  • 35
  • 4
0
votes
1 answer

How to stop ActorSystem schedular which is scheduled with interval

Public boolean checkStatus(){ if(case){ return true; } return false; } final ActorSystem system = ActorSystem.apply(); Cancellable result =…
MaskAd
  • 1
0
votes
1 answer

Scala main class with futures not terminating

I have a scala main class object Job extends App { def myProcedure() = { sqlu"""CALL `dbName`.`update_history();""" } implicit val system: ActorSystem = ActorSystem() implicit val mat:…
user9920500
  • 606
  • 7
  • 21
0
votes
1 answer

Akka: Test scheduled actors using Testkit

I have a parent actor which creates a child actor and the child actor greets parent every minute as below class MasterActor extends Actor with ActorLogging { override def receive: Receive = { case "Greet" => print("Hey…
Steve
  • 115
  • 1
  • 11
0
votes
0 answers

What is the best practice to share actorsystem between submodule's tests?

I have a REST API application with several submodules with unit tests, and I need to have actor system in some of them. Can I share one actor system for all submodules tests? What is the best practice for this case?
0
votes
1 answer

how akka ActorSystem process receives from actor

how can I make a process create Actor with ActorOf and allows actor to ping the parent process. My purpose is to allow an actor to send a signal to its parent process (ActorSystem main thread) to call system.terminate. But no clue how to do…
baron
  • 149
  • 3
  • 11
0
votes
1 answer

Scala - Difference between Supervisor and Try-catch error handling strategies

can someone explain the difference between the "supervisor"- and the "try-catch"-error handling strategies in an ActorSystem in Scala?
Dave
  • 37
  • 3
1
2