Activates Message Queue for Apache RocketMQ.
Usage notes
You can call this operation when you use Message Queue for Apache RocketMQ for the first time. You can use Message Queue for Apache RocketMQ only after this service is activated.
QPS limit
This operation does not have a queries-per-second (QPS) limit on a single user. You can call this operation based on your actual needs. For more information, see QPS limits.
Authorization information
Alibaba Cloud accounts and RAM users can call this operation without the need to be authorized. For more information, see Policies and examples.
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | OpenOnsService |
The operation that you want to perform. Set the value to OpenOnsService. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
OrderId | String | 2068689****0272 |
The ID of the order. |
RequestId | String | 8C5B4603-8977-4513-AB60-9C3E2F88**** |
The ID of the request, which is a common parameter. Each request has a unique ID to facilitate troubleshooting and fault locating. |
Examples
Sample requests
http(s)://ons.cn-hangzhou.aliyuncs.com/? Action=OpenOnsService
&<Common request parameters>
Sample success responses
XML
format
<OpenOnsServiceResponse>
<RequestId>8C5B4603-8977-4513-AB60-9C3E2F88****</RequestId>
<OrderId>2068689****0272</OrderId>
</OpenOnsServiceResponse>
JSON
format
{
"RequestId": "8C5B4603-8977-4513-AB60-9C3E2F88****",
"OrderId": "2068689****0272"
}
Error codes
For a list of error codes, visit the API Error Center.
Operations in the console
In addition to calling the OpenOnsService operation, you can activate Message Queue for Apache RocketMQ in the Message Queue for Apache RocketMQ console. For more information, see Activate Message Queue for Apache RocketMQ.