bain2018/alimq

Aliyun Rocket MQ

v1.3 2022-07-15 06:42 UTC

This package is auto-updated.

Last update: 2024-11-15 11:50:33 UTC


README

Alyun MQ Documents: http://www.aliyun.com/product/ons

Aliyun MQ Console: https://ons.console.aliyun.com

Intall Composer

To install composer by following commands, or see composer

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Install & Use

Add require to your composer.json

{
  "require": {
     "bain2018/alimq": ">=1.0.3"
  }
}

Use Composer to install requires

composer install

Note: php version>=8.0.0, and xml extension of php is required.

Note

  1. Http consumer only support timer msg (less than 3 days), no matter the msg is produced from http or tcp protocol.
  2. Order is only supported at special server cluster.

Samples (github)

Publish Message

Consume Message

Transaction Message

Publish Order Message

Consume Order Message

Samples (code.aliyun.com)

Publish Message

Consume Message

Transaction Message

Publish Order Message

Consume Order Message