I'm using AKKA fsm with java. I'm trying to send message to all the children ever created by my actorRef. Lets say for event X my actorRef create new FSM, but didn't save it in a struct. and for event Y I would like to send this event to all my "sons" (which created before by me, but didn't saved). Does someone have an idea how can I access to all my child? and "tell" them the event?
How can I send event from my ActorRef to all created children with akka fsm?
144 views Asked by user2164744 At
1
There are 1 answers
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in EVENTS
- Stop propagation of javasript/leaflet click event that starts in one element and ends in another
- Detecting click inside and outside of the listening component in Angular
- How to use mocha unit test chokidar watch events
- writing event_management in unity
- Where to put event handler method of an inherited class in C++ Builder?
- Event_date reference in CTE
- WinForms, event unable to subscribe from a custom class
- How to intercept a request made by a form submit in JavaScript?
- Communicating from Parent to Child in Blazor
- How to Customize Sitecore Copy operation
- grand parent is handling custom event emitted instead of parent in Angular 17
- jquery not capturing all input value changes
- Is there a way to force the focus on a determined window tab?
- How to watch user browsing activity from a background service?
- Trigger Once in React native
Related Questions in AKKA
- Akka-persistence, tagging past event
- how to migate a Akka cluster without stopping service
- Await.result always hangs/timeout and never returns result (Scala - Akka actors)
- Can we create akka actor from the context of shard actor?
- Optimizing CPU Utilization and Throughput in Akka / Pekko Streams on HTTP
- Handling of WebSocket Client Messages in Play Framework
- akka PubSub not working across distributed system
- Handling WebSocket Connections in Play Framework
- Propagating exception to root actor
- akka stream merge data from multiple replicas system
- akka.presistance.postgresql too many clients already
- Akka Streams: How to construct a Source of Sources with GraphDSL?
- Skip flow on failure akka streams
- How to regulate the speed between actors in java?
- Keep ordering by merging multiple slow sources in akka streams
Related Questions in FSM
- VHDL Finite State Machine not transitioning correctly based on external signal
- Unexpected behavior Spring state machine JOIN
- Constructing a FSM for a ticket machine
- Can't set state using set_state function
- How does the record assembly work in dremel?
- Verilog state machine state/next_state style
- How to accept data in the state from two bot users Aiogram 3
- FSM libraries do not offer UML "do activity" implementation
- Verilog FSM model shows wrong output
- django-fsm FSMKeyField transition identifier
- Can't get Mealy FSM simulation working after synthesis
- How make admin panel for adding question using aiogram
- state diagram for an FSM for Overlapping Sequence Detector that detects sequence "11001" and raises a flag for two clock cycles
- Aiogram – problem with FSM or CallbackQuery? Bot do not react on the inline button the second time
- Golang Telegram Bot
Related Questions in TELL
- Text file incorrect tell() positions
- Python seek() not shifting pointer to right place
- Python: scan file for substring, save position, then return to it
- a strange result in python using open function with a+ mode
- (Python 3) I have some questions regarding seek() and tell()
- Tell() method not reliable when dealing with text files in Python
- Pointer position does not start from 0
- Finding position in file during iteration
- Where to find the a list of all application name available for tell application apple script?
- tell application - string vs. string?
- Deleting a line from a huge file in Perl
- How can I send event from my ActorRef to all created children with akka fsm?
- Python error using zipfile: 'list' object has no attribute 'tell'
- how to resume read operation of file using python
- C equivalent to applescript "tell X to open Y"
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can get an Iterable with all children of the current actor by calling
childrenon theActorContext. This should be enough for your use case.http://doc.akka.io/japi/akka/current/akka/actor/ActorContext.html#children--