Unlock instant, AI-driven research and patent intelligence for your innovation.

Adaptation method, device, medium and electronic device for message queue

A technology of message queues and electronic equipment, applied in the field of message queues, can solve problems such as difficult to achieve seamless switching of message queues, and easy confusion among application developers, so as to improve development efficiency, reduce coding costs, and realize seamless switching Effect

Active Publication Date: 2022-07-05
TAIKANG LIFE INSURANCE CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, different message queues have different code implementation methods for message sending, message monitoring, and message processing. Application developers usually need to use different code annotations to realize the use of different message queues. For application developers It is easy to be confused, and it is difficult to seamlessly switch between different message queues

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Adaptation method, device, medium and electronic device for message queue
  • Adaptation method, device, medium and electronic device for message queue
  • Adaptation method, device, medium and electronic device for message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments, however, can be embodied in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.

[0026] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present invention. However, those skilled in the art will appreciate that the technical solutions of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide an adaptation method, apparatus, medium, and electronic device for a message queue. The adaptation method for a message queue includes: calling a unified message sending interface to send a message, and the unified message sending The interface sends a message to the currently used message queue in the message sending mode corresponding to the currently used message queue; the unified message monitoring and processing interface is called to monitor the message, and the unified message monitoring and processing interface is in accordance with the currently used message. The message listening method corresponding to the queue listens for messages from the currently used message queue. The invention realizes seamless switching between different message queues, reduces the coding cost caused by selecting different message queues due to the requirements of different business application scenarios, and at the same time improves the development efficiency of application programs.

Description

technical field [0001] The present invention relates to the technical field of message queues, and in particular, to an adaptation method, apparatus, medium and electronic device for message queues. Background technique [0002] Message queues have been widely used in distributed systems due to their advantages of asynchronous decoupling and improved system concurrent processing capabilities. Message queues usually have two modes: point-to-point (Queue) mode and publish / subscribe (Topic) mode; in the former mode, the message sender produces messages and sends them to the Queue, and then the message receivers are taken from the Queue and consumed. (processing) the message; while in the latter mode, the message sender publishes the message to the Topic, and multiple message receivers subscribe (consume / process) the message. [0003] There are many kinds of message queue middleware on the market at present, including but not limited to KAFKA, ACTIVE MQ, RABBITMQ, SOFA MQ, ROCK...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54
CPCG06F9/546
Inventor 王小龙李静吕艳芝胡楠
Owner TAIKANG LIFE INSURANCE CO LTD