Implementing Message Producers and Consumers with RabbitMQ
Core concepts in RabbitMQ revolve around three fundamental components: producers that emit messages, consumers that receive them, and queues that store pending messages. A single queue can except messages from multiple producers and deliver them to multiple consumers, acting as a durable buffer limited only by available storage.
Producer Implem ...
Posted on Mon, 08 Jun 2026 17:14:00 +0000 by englishman69
Installing and Configuring RabbitMQ with PHP AMQP Extension on Linux
System Dependency Installation
Install required system packages:
yum install ncurses-devel unixODBC unixODBC-devel xmlto libtool autoconf
Erlang Runtime Setup
Download and compile Erlang, which is required by RabbitMQ:
wget http://erlang.org/download/otp_src_18.1.tar.gz
tar -zxvf otp_src_18.1.tar.gz
cd otp_src_18.1
./configure --prefix=/usr/lo ...
Posted on Tue, 19 May 2026 03:44:30 +0000 by Janco
Setting Up a RabbitMQ Mirror Cluster with Docker
To establish a RabbitMQ mirror cluster, it is essential to first configure a standard RabbitMQ cluster. In a standard cluster setup, metadata such as exchanges, bindings, and queues are replicated across all nodes in the cluster. However, the actual contents of a queue reside only on its designated node. Clients can connect to any node in the c ...
Posted on Mon, 18 May 2026 18:49:05 +0000 by gateway69
Configuring Multiple RabbitMQ Instances in a Single Spring Boot Application
1. Configuration File (application.yml)
spring:
rabbitmq:
primary:
host: localhost
port: 5672
username: guest
password: guest
virtualHost: /channel-demo
secondary:
host: 192.168.1.184
port: 5672
username: guest
password: guest
virtualHost: /third-party-test
2. Configuration ...
Posted on Mon, 18 May 2026 16:45:05 +0000 by friday_13
Implementing Asynchronous Processing and Real-Time Events in Laravel Applications
Laravel's queue system enables background processing of resource-intensive operations through message queues. This approach decouples time-connsuming tasks from user requests, improving application responsiveness while maintaining data integrity.
Queue Configuration Setup
Configure Redis as the queue driver by updating the .env file:
QUEUE_CONN ...
Posted on Sat, 16 May 2026 01:19:38 +0000 by blackmamba
RabbitMQ Command-Line Operations Guide
RabbitMQ Command-Line Operations Guide
===========================================================================================================
Creating an admin user and assigning permissions
rabbitmqctl list_users
rabbitmqctl add_user admin admin
rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
rabbit ...
Posted on Fri, 15 May 2026 04:21:23 +0000 by toniknik1982
Implementing Priority and Lazy Queues in RabbitMQ
Priority Queuing Strategies
In high-throughput systems, processing certain tasks ahead of others is critical. For instance, an order notification system might distinguish between VIP customers and standard users. Standard queues distribute messages based on arrival order (FIFO). To handle business-critical scenarios where specific messages requ ...
Posted on Thu, 14 May 2026 00:20:50 +0000 by lavender
Nginx Reverse Proxy Configuration for Common Services
Consul Web UI Proxy Setup
location ~ ^/ui {
auth_basic "Authentication Required";
auth_basic_user_file /etc/nginx/passwd.db;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8500;
}
Kibena Dashbo ...
Posted on Wed, 13 May 2026 23:41:48 +0000 by sherri
Implementing Direct Exchanges in RabbitMQ with C#
RabbitMQ supports four exchange types: Direct, Fenout, Topic, and Header. This article demonstrates a C# implementation using the Direct exchange.
Establish a connection to RabbitMQ using the following helper class:
public class RabbitMqConnector
{
public IConnection EstablishConnection()
{
var connectionSettings = new Connectio ...
Posted on Mon, 11 May 2026 05:50:18 +0000 by F.Danials
RabbitMQ Broker Deployment and Message Routing Patterns on Ubuntu
Core Installation and Service Configuration
Execute the package manager to deploy the RabbitMQ server on Ubuntu:
sudo apt update
sudo apt install -y rabbitmq-server
sudo systemctl enable --now rabbitmq-server
Once the service is active, provision an administrative account and assign comprehensive access rights:
sudo rabbitmqctl add_user sys_ad ...
Posted on Sun, 10 May 2026 02:57:49 +0000 by keithschm