-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# The current vesion of the app is in separate repo | ||
|
||
`[email protected]:fixthestatusquo/proca-queue.git` | ||
|
||
# Proca SDK: queue helpers | ||
|
||
Proca server pushes actions through AMQP queues, to which you can plug in your microservice. | ||
|
@@ -18,7 +22,7 @@ This module provides few helpers to work with queues. | |
- `keyStore` - decryption key store (see `@proca/crypto` module) if PII of supporters is to be decrypted | ||
|
||
- Callback signature is: `async callback(action : ActionMessageV2 | | ||
EventMessageV2, msg? : amqplib.Message, channel? : amqplib.Channel)`. The | ||
EventMessageV2, msg? : amqplib.Message, channel? : amqplib.Channel)`. The | ||
callback returns a promise, which if successful will result in ACKing the | ||
message, and if unsuccessful with NACK the message and RabbitMQ server will | ||
re-queue the message. | ||
|