Exemple #1
0
        public QueueBasedImplementationRunner(
            ImplementationRunnerConfig config,
            ProcessingRules deployProcessingRules)
        {
            this.config = config;
            this.deployProcessingRules = deployProcessingRules;

            audit = new Audit(config.AuditStream);
        }
Exemple #2
0
        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();
        }
Exemple #3
0
        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();
        }
Exemple #4
0
 public Builder SetConfig(ImplementationRunnerConfig config)
 {
     this.config = config;
     return(this);
 }