private static WriteMSMQLog ( |
||
activity | ||
statusType | MSMQLogStatusType | |
return | void |
public virtual void Distribute() { var distributor = new LuceneActivityDistributor() { Activity = this }; distributor.Execute(); DistributedLuceneActivity.WriteMSMQLog(this, MSMQLogStatusType.SENT); }
public override void DoAction(bool onRemote, bool isFromMe) { if (!LuceneManager.Running) { return; } //Trace.WriteLine(String.Format("@#$> T:{0} LuceneActivityDistributor.DoAction: {1}. onRemote: {2}, isFromMe:{3}", System.Threading.Thread.CurrentThread.ManagedThreadId, Activity.GetType().Name, onRemote, isFromMe)); if (onRemote && !isFromMe) { DistributedLuceneActivity.WriteMSMQLog(this.Activity, MSMQLogStatusType.RECEIVED); this.Activity.InternalExecute(); } }