Skip to content

Releases: swisspost/vertx-redisques

v2.2.4

18 Aug 12:09

Choose a tag to compare

#23 Immediately notify processor when a queue is unlocked

v2.2.3

11 Jul 15:08

Choose a tag to compare

#18 Do not notify consumers with locked queues

v2.2.2

03 Jun 10:45

Choose a tag to compare

#17 artifact name is wrong (is: vertx-redisques, should be: redisques)

v2.2.1

01 Jun 14:05

Choose a tag to compare

#10 Trigger the check operation of the RedisquesAPI in redisques itself
#12 Queues are not processed, the cleanup request queue is hanging

v2.2.0

03 May 08:06

Choose a tag to compare

Changes

The following queue operations have been renamed:

Queue operation old Queue operation new
getListRange getQueueItems
addItem addQueueItem
deleteItem deleteQueueItem
getItem getQueueItem
replaceItem replaceQueueItem

The "old" queue operations can still be used, but a warning will be logged to use the new queue operation. See example below:

WARNUNG: Legacy queue operation used. This may be removed in future releases. Use 'getQueueItems' instead of 'getListRange'

New Features

The following new features have been introduced in this release.

New Queue operations

Queue operation Description
getQueues Get the names of all active queues
getQueuesCount Get the count of all active queues
getQueueItemsCount Get the queue item count of a single queue

RedisquesAPI util

For easier work with the Redisques module, the RedisquesAPI class has been introduced. See:

org.swisspush.redisques.util.RedisquesAPI

To execute a replaceQueueItem operation for example, the following json object has to be sent to Redisques:

{
    "operation": "replaceQueueItem",
    "payload": {
        "queuename": "myQueue",
        "buffer": "newQueueContent",
        "index": 99
    }
}

The same json object can be created by using the following RedisquesAPI helper method:

JsonObject operation = RedisquesAPI.buildReplaceItemOperation("myQueue", 99, "newQueueContent");

v2.1.0

02 Apr 10:17

Choose a tag to compare

Renamed everything from li.che.vertx to org.swisspush

v2.0.1

30 Mar 20:33

Choose a tag to compare