Message queue adaptation method, device, medium and electronic equipment

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: 2019-11-01
TAIKANG LIFE INSURANCE CO LTD +1
View PDF4 Cites 5 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
  • Message queue adaptation method, device, medium and electronic equipment
  • Message queue adaptation method, device, medium and electronic equipment
  • Message queue adaptation method, device, medium and electronic equipment

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 may, however, be embodied in many 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 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 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, means, steps, etc. may be employed. In other instances, well-known methods, apparatus, implem...

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

The embodiment of the invention provides a message queue adaptation method, a message queue adaptation device, a medium and electronic equipment. The message queue adaptation method comprises the following steps: calling a unified message sending interface to send a message, wherein the unified message sending interface sends the message to a currently used message queue in a message sending modecorresponding to the currently used message queue; and calling a unified message monitoring processing interface to monitor the message, wherein the unified message monitoring processing interface monitors the message from the currently used message queue in a message monitoring mode corresponding to the currently used message queue. According to the invention, seamless switching between differentmessage queues is realized. The coding cost caused by selecting different message queues according to different service application scene requirements is reduced. The development efficiency of an application program is improved.

Description

technical field [0001] The present invention relates to the technical field of message queues, in particular to a message queue adaptation method, device, medium and electronic equipment. 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 a message and sends it to the Queue, and then the message receiver takes it from the Queue and consumes it (Processing) the message; 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 types of message queuing middleware currently on the market, including but not limited to KAFKA, ACTIVE MQ, RABBITMQ, SOFA MQ, ROCKET MQ, and TENCEN...

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 Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/546
Inventor 王小龙李静吕艳芝胡楠
Owner TAIKANG LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products