public JobConsumerMessageSpecification()
        {
            _submitJobSpecification = ConsumerConnectorCache <SubmitJobConsumer <TJob> > .Connector.CreateConsumerSpecification <SubmitJobConsumer <TJob> >();

            _startJobSpecification = ConsumerConnectorCache <StartJobConsumer <TJob> > .Connector.CreateConsumerSpecification <StartJobConsumer <TJob> >();

            _cancelJobSpecification = ConsumerConnectorCache <CancelJobConsumer <TJob> > .Connector.CreateConsumerSpecification <CancelJobConsumer <TJob> >();

            _consumerSpecification = new ConsumerMessageSpecification <TConsumer, TJob>();
        }
Beispiel #2
0
        public JobConsumerMessageSpecification()
        {
            SubmitJobSpecification = ConsumerConnectorCache <SubmitJobConsumer <TJob> > .Connector.CreateConsumerSpecification <SubmitJobConsumer <TJob> >();

            StartJobSpecification = ConsumerConnectorCache <StartJobConsumer <TJob> > .Connector.CreateConsumerSpecification <StartJobConsumer <TJob> >();

            FinalizeJobSpecification = ConsumerConnectorCache <FinalizeJobConsumer <TJob> > .Connector.CreateConsumerSpecification <FinalizeJobConsumer <TJob> >();

            SuperviseJobSpecification = ConsumerConnectorCache <SuperviseJobConsumer> .Connector.CreateConsumerSpecification <SuperviseJobConsumer>();

            _consumerSpecification = new ConsumerMessageSpecification <TConsumer, TJob>();
        }