public QueueBasedImplementationRunner( ImplementationRunnerConfig config, ProcessingRules deployProcessingRules) { this.config = config; this.deployProcessingRules = deployProcessingRules; audit = new Audit(config.AuditStream); }
public void AndAClientThatConnectsToTheQueues() { var config = new ImplementationRunnerConfig() .SetHostname(Hostname) .SetPort(Port) .SetRequestQueueName(RequestQueueName) .SetResponseQueueName(ResponseQueueName) .SetAuditStream(auditStream); queueBasedImplementationRunnerBuilder = new QueueBasedImplementationRunner.Builder().SetConfig(config); queueBasedImplementationRunner = queueBasedImplementationRunnerBuilder.Create(); }
public void GivenTheBrokerIsNotAvailable() { auditStream.ClearLog(); var config = new ImplementationRunnerConfig() .SetHostname("111") .SetPort(Port) .SetRequestQueueName("X") .SetResponseQueueName("Y") .SetAuditStream(auditStream); queueBasedImplementationRunnerBuilder = new QueueBasedImplementationRunner.Builder().SetConfig(config); queueBasedImplementationRunner = queueBasedImplementationRunnerBuilder.Create(); }
public Builder SetConfig(ImplementationRunnerConfig config) { this.config = config; return(this); }