Example #1
0
        public void WhenARequestIsPublishedToSendTheFile()
        {
            var request = new SendBatchValueInstructionFileRequest
            {
                jobIdentifier = "xxx",
                valueInstructionFile = new[]
                {
                    new SendValueInstructionFileRequest
                    {
                        valueInstructionFileBatchFilename = PendingFilename,
                        valueInstructionFileState = StateEnum.VIC
                    }
                }

            };

            VifBus.Publish(request);

            Thread.Sleep(3000);
        }
Example #2
0
        public static void Publish(SendBatchValueInstructionFileRequest request)
        {
            Requests.Add(request);

            Task.WaitAll(RequestExchange.PublishAsync(request, null));
        }