Example #1
0
 /// <inheritdoc/>
 public ListSubscriptionResponse ListSubscription(ListSubscriptionRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListSubscriptionAsync(request).Result;
     }));
 }
Example #2
0
 /// <inheritdoc/>
 public SendMessageResponse SendMessage(string messageBody)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SendMessageAsync(messageBody).Result;
     }));
 }
Example #3
0
 /// <inheritdoc/>
 public BatchSendMessageResponse BatchSendMessage(BatchSendMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return BatchSendMessageAsync(request).Result;
     }));
 }
Example #4
0
 /// <inheritdoc/>
 public ReceiveMessageResponse ReceiveMessage(ReceiveMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ReceiveMessageAsync(request).Result;
     }));
 }
Example #5
0
 /// <inheritdoc/>
 public PeekMessageResponse PeekMessage(PeekMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return PeekMessageAsync(request).Result;
     }));
 }
Example #6
0
 /// <inheritdoc/>
 public ChangeMessageVisibilityResponse ChangeMessageVisibility(ChangeMessageVisibilityRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ChangeMessageVisibilityAsync(request).Result;
     }));
 }
Example #7
0
 /// <inheritdoc/>
 public DeleteMessageResponse DeleteMessage(DeleteMessageRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteMessageAsync(request).Result;
     }));
 }
Example #8
0
 /// <inheritdoc/>
 public Topic CreateTopic(string topicName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateTopicAsync(topicName).Result;
     }));
 }
Example #9
0
 /// <inheritdoc/>
 public Topic CreateTopic(CreateTopicRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateTopicAsync(request).Result;
     }));
 }
Example #10
0
 /// <inheritdoc/>
 public ListQueueResponse ListQueue(string queueNamePrefix)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListQueueAsync(queueNamePrefix).Result;
     }));
 }
Example #11
0
 /// <inheritdoc/>
 public ListQueueResponse ListQueue(string queueNamePrefix, string marker, uint maxReturns)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListQueueAsync(queueNamePrefix, marker, maxReturns).Result;
     }));
 }
Example #12
0
 /// <inheritdoc/>
 public DeleteQueueResponse DeleteQueue(string queueName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteQueueAsync(queueName).Result;
     }));
 }
Example #13
0
 /// <inheritdoc/>
 public Queue CreateQueue(CreateQueueRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateQueueAsync(request).Result;
     }));
 }
Example #14
0
 /// <inheritdoc/>
 public Queue CreateQueue(string queueName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return CreateQueueAsync(queueName).Result;
     }));
 }
Example #15
0
 /// <inheritdoc/>
 public SetQueueAttributesResponse SetAttributes(QueueAttributes attributes)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SetAttributesAsync(attributes).Result;
     }));
 }
Example #16
0
 /// <inheritdoc/>
 public DeleteTopicResponse DeleteTopic(string topicName)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteTopicAsync(topicName).Result;
     }));
 }
Example #17
0
 /// <inheritdoc/>
 public ChangeMessageVisibilityResponse ChangeMessageVisibility(string receiptHandle, int visibilityTimeout)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ChangeMessageVisibilityAsync(receiptHandle, visibilityTimeout).Result;
     }));
 }
Example #18
0
 /// <inheritdoc/>
 public DeleteTopicResponse DeleteTopic(DeleteTopicRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteTopicAsync(request).Result;
     }));
 }
Example #19
0
 /// <inheritdoc/>
 public DeleteMessageResponse DeleteMessage(string receiptHandle)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return DeleteMessageAsync(receiptHandle).Result;
     }));
 }
Example #20
0
 /// <inheritdoc/>
 public ListTopicResponse ListTopic(string topicNamePrefix)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListTopicAsync(topicNamePrefix).Result;
     }));
 }
Example #21
0
 /// <inheritdoc/>
 public ReceiveMessageResponse ReceiveMessage(uint waitSeconds)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ReceiveMessageAsync(waitSeconds).Result;
     }));
 }
Example #22
0
 /// <inheritdoc/>
 public ListTopicResponse ListTopic(string topicNamePrefix, string marker, uint maxReturns)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListTopicAsync(topicNamePrefix, marker, maxReturns).Result;
     }));
 }
Example #23
0
 /// <inheritdoc/>
 public BatchReceiveMessageResponse BatchReceiveMessage(uint batchSize, uint waitSeconds)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return BatchReceiveMessageAsync(batchSize, waitSeconds).Result;
     }));
 }
Example #24
0
 /// <inheritdoc/>
 public ListTopicResponse ListTopic(ListTopicRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListTopicAsync(request).Result;
     }));
 }
Example #25
0
 /// <inheritdoc/>
 public BatchPeekMessageResponse BatchPeekMessage(uint batchSize)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return BatchPeekMessageAsync(batchSize).Result;
     }));
 }
Example #26
0
 /// <inheritdoc/>
 public SetAccountAttributesResponse SetAccountAttributes(SetAccountAttributesRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SetAccountAttributesAsync(request).Result;
     }));
 }
Example #27
0
 /// <inheritdoc/>
 public SendMessageResponse SendMessage(string messageBody, uint delaySeconds, uint priority)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return SendMessageAsync(messageBody, delaySeconds, priority).Result;
     }));
 }
Example #28
0
 /// <inheritdoc/>
 public GetAccountAttributesResponse GetAccountAttributes()
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return GetAccountAttributesAsync().Result;
     }));
 }
Example #29
0
 /// <inheritdoc/>
 public GetQueueAttributesResponse GetAttributes(GetQueueAttributesRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return GetAttributesAsync(request).Result;
     }));
 }
Example #30
0
 /// <inheritdoc/>
 public ListSubscriptionResponse ListSubscription(string subscriptionNamePrefix, string marker, uint maxReturns)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListSubscriptionAsync(subscriptionNamePrefix, marker, maxReturns).Result;
     }));
 }