ManagementClient.updateTopic(TopicDescription topicDescription) 方法

定义

Updates an existing topic.

public TopicDescription updateTopic(TopicDescription topicDescription)

参数

topicDescription
TopicDescription

- A TopicDescription object describing the attributes with which the topic will be updated.

返回

TopicDescription of the updated topic.

例外

MessagingEntityNotFoundException

- Described entity was not found.

IllegalArgumentException

- descriptor is null.

TimeoutException

- The operation times out. The timeout period is initiated through ClientSettings.operationTimeout

AuthorizationFailedException

- No sufficient permission to perform this operation. Please check ClientSettings.tokenProvider has correct details.

ServerBusyException

- The server is busy. You should wait before you retry the operation.

ServiceBusException

- An internal error or an unexpected exception occurred.

QuotaExceededException

- Either the specified size in the description is not supported or the maximum allowed quota has been reached.

InterruptedException

if the current thread was interrupted

适用于