andrewgaul commented on this pull request.


> +import org.jclouds.azure.storage.parser.ParseDeleteQueueResponse;
+import org.jclouds.rest.annotations.*;
+
+import javax.inject.Named;
+import javax.ws.rs.*;
+import java.io.Closeable;
+
+@Headers(keys = "x-ms-version", values = "{jclouds.api-version}")
+@RequestFilters(SharedKeyLiteAuthentication.class)
+public interface QueueApi extends Closeable {
+
+   @Named("azure_storage_queue_create")
+   @PUT
+   @Path("/{queueName}")
+   @ResponseParser(ParseCreateQueueResponse.class)
+   CreateQueueResponse create(@PathParam("queueName") String queueName);

There are a couple ways to do this.  Actually returning a boolean on creation 
seems to match the rest of the code base better.  Look at 
`@Fallback(FalseIfContainerAlreadyExists.class)` in `AzureBlobClient`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/405#discussion_r129728709

Reply via email to