ManagementClientAsync.createQueueAsync 方法

定义

重载

createQueueAsync(QueueDescription queueDescription)

Creates a new queue in the service namespace with the given name. See QueueDescription for default values of queue properties.

createQueueAsync(String queuePath)

Creates a new queue in the service namespace with the given name. See QueueDescription for default values of queue properties.

createQueueAsync(QueueDescription queueDescription)

Creates a new queue in the service namespace with the given name. See QueueDescription for default values of queue properties.

public CompletableFuture<QueueDescription> createQueueAsync(QueueDescription queueDescription)

参数

queueDescription
QueueDescription

- A QueueDescription object describing the attributes with which the new queue will be created.

返回

CompletableFuture<QueueDescription>

QueueDescription of the newly created queue.

createQueueAsync(String queuePath)

Creates a new queue in the service namespace with the given name. See QueueDescription for default values of queue properties.

public CompletableFuture<QueueDescription> createQueueAsync(String queuePath)

参数

queuePath
String

- The name of the queue relative to the service namespace base address.

返回

CompletableFuture<QueueDescription>

QueueDescription of the newly created queue.

例外

IllegalArgumentException

- Entity name is null, empty, too long or uses illegal characters.

适用于