Aaronontheweb on dev
Fix #4083 - Endpoint receive bu… (compare)
/// <summary>
/// Used to load HOCON definitions from a dedicated HOCON file
/// </summary>
public static class HoconLoader
{
/// <summary>
/// Parses a HOCON <see cref="Config" /> object from an underlying file
/// </summary>
/// <param name="path">The path to the HOCON file.</param>
/// <returns>A parsed <see cref="Config" /> object.</returns>
public static Config FromFile(string path)
{
return ConfigurationFactory.ParseString(File.ReadAllText(path));
}
}
Microsoft.Extensions.Configuration
ActorSystem.Create(string name, Config config)
method
Copy Always
or Copy If Newer
Tell
ed. IIRC Monitoring does something like it - but is there a generic way to hook in somewhere in order to get the data I'm looking for?
AroundReceive
base method
Hi, I have a question related to Stash. I don't understand this piece of docs:
The IWithUnboundedStash interface implementation of PreRestart will call UnstashAll(), which is usually the desired behavior.
(http://getakka.net/articles/actors/receive-actor-api.html#stash) Does this happen automagically when I implementIWithUnboundedStash
on my actor? Where is this logic defined? I can't find it...
yeah, seems like it, since BeforeIncarnated
is a
Plugin behavior applied to underlying <paramref name="actor"/> instance before the actor is being recycled.
ReceiveActor
mostly myself
ReceiveActor
can do things switch
cannot, such as matching on generics