// Not needed anymore, we use the custom logging Actor for tracking exceptions /* * protected override bool AroundReceive(Receive receive, object message) * { * try * { * return base.AroundReceive(receive, message); * } * catch (Exception ex) * { * ActorMonitoring.TrackException(_friendlyName, ex, message); * throw; * } * } */ protected override bool AroundReceive(Receive receive, object message) { ActorMonitoring.TrackReceivedMessage(_friendlyName, message, true); return(base.AroundReceive(receive, message)); }
protected void TrackReceivedMessage(object message, bool expires) { ActorMonitoring.TrackReceivedMessage(_friendlyName, message, expires); }
protected void TrackReceivedMessage(object message) { ActorMonitoring.TrackReceivedMessage(_friendlyName, message); }