RabbitMq related
Posted hualiu0
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了RabbitMq related相关的知识,希望对你有一定的参考价值。
# RabbitMq related
Integration of message queuing tools with systems is the usual solution to handle high concurrency in web platforms, there are several queues to choose from, but most often used is an opensource tool written in ErLang.
ErLang is said to be a functional programming language which is created for handling concurrency, there are processing models in built. Like exception handling, each erLang function is a process, and each process throws exception to an exception pool, in this way, exception handling can be in general dealt with in the pool.
RabbitMq server provides a solution to queue messages and interact with client using client, consumer, producer, etc. So, concurrency is multiplied by several times as the queue goes.
Installation of RabbitMq
1. Erlang is the precondition of RabbitMq, so, first go to Erlang website, download and install ErLang on windows
2. Go to RabbitMq website and install RabbitMq server on windows
3. Open ErLang shell and start using shell commands
4. If prompted that ERLANG_HOME environmental variable not set correctly, go to system advanced config and add system environmental variable ERLANG_HOME pointing to erlang installation home folder. Remember to restart console after environmental variable is set.
5. Check rabbitmq status, go to RabbitMq installation folder subfolder sbin and run command "rabbitmqctl status", and see rabbitmq running status there in console including pid etc.
6. RabbitMq visualization, still in sbin folder, run command "rabbitmqplugins enable rabbitmq_management", and visit "http://127.0.0.1:15672/" with default username and password "guest" "guest".
7. Stop the service, using "rabbitmqctl stop", or "rabbitmq-server -detached" to restart and run in background.
8. Rabbitmq installation has been finished, now it is time to integrate with apps!
Conclusion from above is, this article talked about _"installtion of rabbitmq"_ which consists of _"installation of erlang; rabbitmq configuration and how to operate rabbitmq services with commands; visulation portal with default username and password guest"_
以上是关于RabbitMq related的主要内容,如果未能解决你的问题,请参考以下文章
SpringCloud系列十一:SpringCloudStream(SpringCloudStream 简介创建消息生产者创建消息消费者自定义消息通道分组与持久化设置 RoutingKey)(代码片段
带着新人学springboot的应用07(springboot+RabbitMQ 下)
索引1处片段中的非法字符:Heroku上的#{systemEnvironment ['DATABASE_URL']}配置数据源