Creates a new queue, or returns the URL of an existing one.
Declaration Syntax
C# |
CreateQueueResponse CreateQueue( CreateQueueRequest request )
Parameters
- request (CreateQueueRequest)
- Create Queue request
Return Value
Create Queue Response from the service
Remarks
When you request CreateQueue, you provide a name for the queue. To successfully create a new queue, you must provide a name that is unique within the scope of your own queues. If you provide the name of an existing queue, a new queue isn't created and an error isn't returned. Instead, the request succeeds and the queue URL for the existing queue is returned.
Exception: if you provide a value for DefaultVisibilityTimeout that is different from the value for the existing queue, you receive an error.