Queries the details of a message.
Operation description
Note
API operations provided by Alibaba Cloud are used to manage and query resources of Alibaba Cloud services. We recommend that you integrate these API operations only in management systems. Do not use these API operations in the core system of messaging services. Otherwise, system risks may occur.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
InstanceId | string | Yes | The ID of the ApsaraMQ for RocketMQ Instance. | MQ_INST_184681981******_BXig0x6A |
Topic | string | Yes | The name of the topic in which the message you want to query is stored. | test-mq_topic |
MsgId | string | Yes | The ID of the message that you want to query. | 1E0578FE110F18B4AAC235C0****** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "EAE5BE23-37A1-4354-94D6-E44AE17E****",
"Data": {
"StoreSize": 2,
"ReconsumeTimes": 0,
"StoreTimestamp": 1570761026708,
"Body": "aGVsbG8=",
"InstanceId": "MQ_INST_184681981******_BXig0x6A",
"MsgId": "1E0578FE110F18B4AAC235C05F2*****",
"StoreHost": "11.220.***.***:10911",
"Topic": "test-mq_topic",
"PropertyList": [
{
"Value": "MSG_REGION",
"Name": "cn-hangzhou"
}
],
"BornTimestamp": 1570761026630,
"BodyCRC": 907060870,
"BornHost": "42.120.**.**:64646",
"BodyStr": "hello"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history