Hi Roland, thanks - I think I will go EventStream in that case.
Best regards Andreas Am Donnerstag, 8. Mai 2014 23:04:31 UTC+2 schrieb Akka Team: > > Hi Andreas, > > the actor could make itself known by publishing a message on the > context.system.eventStream, which allows listeners to get the news ASAP. > Apart from that you’d need to fall back to polling with > context.actorSelection() for the (known) name. > > Regards, > > Roland > > > > On Thu, May 8, 2014 at 9:01 AM, Andreas Gies > <[email protected]<javascript:> > > wrote: > >> Hello Hakkers, >> >> I am working on an application that uses OSGI under the covers for its >> modularization requirements. I have a scenario where a bundle provides an >> actor that gathers events and redistributes them to a group of listeners. >> >> In OSGi the gathering actor may come and go. While it is easy to capture >> the actor going with a death watch, I was wondering whether is something >> similar via the event bus or so to be notified when the actor reappears. I >> could solve it with an OSGI service tracker somehow, but that feels >> un-akkafied. Polling the actor for its existence sounds like a horrible >> idea..... >> >> What would potentially make stuff easier is that the gathering actor has >> a well defined name. >> >> Bottom line, has someone encountered something like this ? - What did you >> do about it ? >> >> >> Thanks & Best regards >> Andreas >> >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Akka Team > Typesafe - The software stack for applications that scale > Blog: letitcrash.com > Twitter: @akkateam > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
