• Docker install and run rabbitmq instance code


    Pull image: [[email protected]_0_7_centos ~]$ sudo docker pull rabbitmq:3.7.15 [sudo] password for mall: 3.7.15: Pulling from library/rabbitmq 5b7339215d1d: Pull complete 14ca88e9f672: Pull complete a31c3b1caad4: Pull complete b054a26005b7: Pull complete eef17c6cb6cf: Pull complete d5a267fdfe2c: Pull complete d499647c68af: Pull complete ad88e7bd384a: Pull complete ae1d871f3f62: Pull complete 7ceac8eb91d4: Pull complete Digest: sha256:78dff08cefc9fef5c9cbaabab99d783d72d37cb7bbb66a08c4f59877ef406c1f Status: Downloaded newer image for rabbitmq:3.7.15 docker.io/library/rabbitmq:3.7.15 […]

  • C # rabbitmq simple sending and receiving message example code


    Announcement: (producer) /// <summary> ///Send message /// </summary> ///< param name = “queue” > queue name < / param > ///< param name = “message” > message content < / param > private static void PublishInfo(string queue, string message) { try { var factory = new ConnectionFactory(); factory.HostName =”Localhost”; // rabbitmq service runs locally factory.UserName […]

  • Centos8 using Yum to install rabbitmq tutorial


    Enter / etc/ yum.repos . D / folder Create rabbitmq- erlang.repo file The contents are as follows [rabbitmq-erlang] name=rabbitmq-erlang baseurl=https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/21/el/7 gpgcheck=1 gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc repo_gpgcheck=0 enabled=1 establish rabbitmq.repo file The contents are as follows [bintray-rabbitmq-server] name=bintray-rabbitmq-rpm baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.8.x/el/8/ gpgcheck=0 repo_gpgcheck=0 enabled=1 Installation command yum install rabbitmq-server Rabbitmq related commands open service rabbitmq-server start close service rabbitmq-server stop View […]

  • A detailed explanation of the method of using rabbitmq to implement delayed tasks


    In the process of development, such requirements are usually encountered Taobao order business: if no payment is made within 30 minutes after the order is placed, the order will be automatically cancelled. Are you hungry? Order notice: send SMS to the user 60 seconds after the order is successful. Close idle connections: there are many […]

  • How to install rabbitmq in Linux?


    How to install rabbitmq in Linux?When doing a microservice project, we use message queuing, so we have an in-depth understanding of message queuing knowledge, and installed rabbitmq on Linux. If you want to know more about message queuing, please refer to this article! 1. Update basic system Before installing any packages, it is recommended that […]

  • Rabbitmq configuration and installation tutorial full record


    preface In recent days, I’m not feeling well. I haven’t written a blog for a long time. I also said that the. Net project Department of the company did it. I used to use scale. I thought I would do it in Java, so I tried my best to learn java last month. I’ve been […]

  • Spring Web integration rabbitmq code instance


    This article mainly introduces the spring Web integration rabbitmq code example. The example code is introduced in detail in this article, which has a certain reference learning value for everyone’s study or work. You can refer to the following for your friends Introduce java package: In this project, only four Java packages are introduced: amqp-client-5.7.3.jar, […]

  • Spring boot (XIII): spring boot integrates rabbitmq


    1. Preface Rabbitmq is a message queue. When it comes to message queues, you may have heard of it more or less. Its main function is to realize asynchronous and decoupling of application services, as well as to cut peak, fill valley and distribute messages. One of the main functions of message queuing in comparison […]

  • Open source Kafka enhancement: okmq-1.0.0


    The core idea of this tool is: gambling. Only when two basic components die at the same time will they receiveserious influence。 Oh, except for power failure. MQ is a good thing, we are all using it. This also determines that MQ should be highly available. Because of this component, a group has had several […]

  • Ubuntu 16.04 installing rabbitmq


    1. Install rabbitmq sudo apt-get update sudo apt-get install rabbitmq-server 2. Basic order Start command: sudo service rabbitmq server start Close command: sudo service rabbitmq server stop Restart command: sudo service rabbitmq server restart View status: sudo service rabbitmq server status 3. Configure web plugin sudo rabbitmq-plugins enable rabbitmq_management Configuration management address: http: // localhost: […]

  • . net uses rabbitmq to send instant message demo


    Preface Recently, rabbitmq will be used in the project. There have been many excellent articles on the Internet. Baidu Encyclopedia also has a very clear explanation of rabbitmq. It is suggested to look at it, and AMQP protocol. It must be mentioned that rabbitmq is an open-source implementation of message queuing protocol (AMQP) provided by […]

  • (High concurrency detection) 3. Use of message queues for common problems in distributed scenarios


    Scenario requirements For existing MySQL master-slave projects, when the amount of data is large, we often adopt the method of sub-database and sub-table. In order to shorten the page response, we adopt the structure of one master-slave master-write + Slave read-write separation. Using redis level: first, using redis as the buffer layer of PHP to […]