tencent cloud

TDMQ for CMQ

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Strengths
Use Cases
Use Limits
Basic Concepts
Purchase Guide
Billing Overview
Purchase Methods
Pricing Overview
Payment Overdue
Refund
Getting Started
Getting Started with Queue Model
Getting Started with Topic Model
Operation Guide
Queue Service
Topic Subscription
Access Management (CAM)
Tag Management
Alarm Configuration
Message Query and Trace
Practical Tutorial
Message Deduplication
Push/Pull Selection
Success Stories
Online Image Processing
Qidian.com
Development Guide
HTTP Endpoint Subscription
General References
API Documentation
API Documentation
API 2.0 to 3.0 Switch Guide
SDK Documentation
HTTP Data Flow SDK
HTTP Control Flow SDK
SDK Parameter Configuration Description
FAQs
Features
Operations
Service Level Agreement
Contact Us
Glossary

Message Lifecycle

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-01-03 10:15:44
When a general message is sent to a general message queue, its initial status is Active. After it is fetched out, its status will become Inactive within the time period specified by VisibilityTimeout. If the message is not deleted after the period specified by VisibilityTimeout elapses, its status will become Active again; otherwise, its status will become Deleted. The maximum retention period of the message is subject to the MessageRetentionPeriod attribute value specified when the queue is created. After this period elapses, the message will become Expired and be repossessed.
Consumers can read Active messages only, which ensures that a message will not be repeatedly consumed simultaneously but can be repeatedly consumed sequentially.

Component 1 sends message A, which has multiple redundancies across TDMQ for CMQ servers, to a queue.
After getting ready to process messages, component 2 will retrieve messages from the queue, and message A will be returned. When being processed, message A still stays in the queue. Within the hidden duration of fetched messages, other businesses cannot get message A.
Component 2 can delete message A from the queue to avoid receiving and processing it again after the hidden duration of fetched messages elapses. It can also retain message A so that other businesses can consume message A repeatedly.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백