Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.15 KB

hustmq.md

File metadata and controls

59 lines (40 loc) · 1.15 KB

hustmq

API Synopsis

This following is http interface provided by hustmq:

Arguments

queue

Queue name

item

Message

ack

Whether confirm it immediately(deleted) when fetching data

token

Used for asynchronous confirmation of message(deleted)

priori

Message priority, 0~2 From low to high priority

worker

Worker name used for get interface

ttl

Time to live (delete it if expired), and 0 means permanent storage

minute

Set up queue message timeout, Unit: minute

on

Lock switch. 0 means turn off lock, and put operation is allowed; 1 means turn on lock, and put operation is not allowed.

num

The maximum message number for this queue

idx

Sliding window index of subscribe message queue

Previous

Home