public static OutOfProcessReportGenerationController CreateController(IOutOfProcessConfiguration configuration, IProcessFactory processFactory) { return CreateController(configuration, processFactory, //new ReportQueueStatusWCFService() moony new ReportQueueStatusDBService() ); }
/// <summary> /// Initializes a new instance of the OutOfProcessReportGenerationController class /// </summary> /// <param name="configuration">The configuration.</param> /// <param name="processFactory">The process factory.</param> /// <param name="reportQueueStatusService">The report queue status service.</param> public OutOfProcessReportGenerationController( IOutOfProcessConfiguration configuration, IProcessFactory processFactory, IReportQueueStatusService reportQueueStatusService) : base(configuration, reportQueueStatusService) { this._Configuration = configuration; this._ProcessFactory = processFactory; }
public static OutOfProcessReportGenerationController CreateController( IOutOfProcessConfiguration configuration, IProcessFactory processFactory, IReportQueueStatusService statusService) { var controller = new OutOfProcessReportGenerationController(configuration, processFactory, statusService); controller.RunProcess = true; controller.DatabaseQueuePollInterval = 500; return controller; }
public static OutOfProcessReportGenerationController CreateController(IOutOfProcessConfiguration configuration) { var processorPath = @"D:\Development\TishmanSpeyer\GRP\Services\ReportQueueProcessor\Bin\Debug\GRP.ReportQueue.Processor.exe"; var controller = CreateController(configuration, new DefaultProcessFactory(processorPath)); return controller; }