Skip to content

Latest commit

 

History

History
165 lines (98 loc) · 2.58 KB

Message.md

File metadata and controls

165 lines (98 loc) · 2.58 KB

RedisSMQ / Docs / API Reference / Message

Class: Message

Table of contents

Constructors

Methods

Constructors

constructor

new Message(): Message

Returns

Message

Methods

deleteMessageById

deleteMessageById(id, cb): void

Parameters

Name Type
id string
cb ICallback<void>

Returns

void


deleteMessagesByIds

deleteMessagesByIds(ids, cb): void

Parameters

Name Type
ids string[]
cb ICallback<void>

Returns

void


getMessageById

getMessageById(messageId, cb): void

Parameters

Name Type
messageId string
cb ICallback<IMessageTransferable>

Returns

void


getMessageState

getMessageState(messageId, cb): void

Parameters

Name Type
messageId string
cb ICallback<IMessageStateTransferable>

Returns

void


getMessageStatus

getMessageStatus(messageId, cb): void

Parameters

Name Type
messageId string
cb ICallback<EMessagePropertyStatus>

Returns

void


getMessagesByIds

getMessagesByIds(messageIds, cb): void

Parameters

Name Type
messageIds string[]
cb ICallback<IMessageTransferable[]>

Returns

void


requeueMessageById

requeueMessageById(messageId, cb): void

Parameters

Name Type
messageId string
cb ICallback<void>

Returns

void


shutdown

shutdown(cb): void

Parameters

Name Type
cb ICallback<void>

Returns

void