Skip to content
phachon edited this page Jun 6, 2018 · 4 revisions

Welcome to the wmqx wiki!

WMQX working principle is as follows:

wmqx

Feature

  1. There is no need to connect to RabbitMQ, providing a high-performance, highly available HTTP interface to manage messages
  2. To help users realize the consumption process, they only need to add the corresponding consumer API through the interface to realize the consumption or message push
  3. Each consumer is handled by a separate goroutine, and consumers consume each other independently
  4. Simple and convenient deployment, support cross-platform deployment, low use and access costs
  5. The WMQX consuming process forwards the original request information to the corresponding consumer URL by sending the message through the HTTP publishing interface
  6. Provide a complete set of background management UI, see WMQX-UI

Install

RabbitMQ

If you don't have a RabbitMQ service, you'll need to install it yourself, which is pretty simple, see http://www.rabbitmq.com/download.html

WMQX

Download the latest binary from https://github.com/phachon/wmqx/releases

# Unpack 
$ tar -zxvf wmqx.tar.gz

Start Run

# The default configuration file USES wmqx.conf in the current directory
$ cp config.toml wmqx.conf

# config wmqx.conf
[rabbitmq]
host = "RabbitMQ Server Ip"
port = 5672
username = "test"
password = "123456"
vhost = "/"

# start run
$ ./wmqx 
# Of course, you can also specify the configuration file path to start
$ ./wmqx --conf wmqx.conf