• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Okanjo / okanjo-app-queue
16%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/minimist-1.2.8
DEFAULT BRANCH: master
Repo Added 22 Nov 2017 03:47AM UTC
Files 3
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v2
branch: v2
CHANGE BRANCH
x
Reset
  • v2
  • master
  • travis
  • v1.0.0
  • v2.0.0
  • v2.1.0
  • v3.0.0
  • v4.0.0

pending completion
11

push

travis-ci

kfitzgerald
Rewrite using Rascal as our underlying driver

# Breaking Changes
 * Underlying driver has changed from forked-version of postwait's `amqp` to rascal/amqplib
 * Queue configuration has changed, see rascal's configuration scheme
 * QueueService
   * constructor no longer takes `queues` param, this is setup in the rascal config
   * `queues` property has been removed
   * `connect` is now an async function (no more callback)
   * many internal member functions have been removed
 * QueueWorker
   * constructor option `queueName` is now `subscriptionName`
   * constructor requires option `service` (instance of QueueService)
   * many internal members have been removed
   * `init` is now an async function (no more callback)
   * `subscribe` is now an async function (no more callback)
   * `onReady` has been removed
   * `onSubscribed` no longer has arguments
   * `onUnsubscribed` no longer has arguments
   * `onMessage` signature has changed to `(message, content, ackOrNack)`
   * `onMessageHandled` has been removed
   * `handleMessage` signature has changed to `(message, content, ackOrNack)`
   * `onServiceError` has been removed
 * BatchQueueWorker
   * option `batchSize` now translates to a prefetch of (batchSize * 2), so Async.Cargo can optimally deliver the desired batch size to the app.
   * `handleMessageBatch` has changed signature to (messages, defaultAckOrNack)
     * Messages are wrapped, and can be individually acknowledged via `messages[i].ackOrNack(...)`. Likewise, `defaultAckOrNAck(...)` will handle the remaining messages in the batch.
   * `onMessage` signature has changed to `(message, content, ackOrNack)`
   * `onMessageHandled` has been removed
   * `prepareForShutdown` override has been removed

Other notable changes:

 * QueueService
   * Vastly simplified logic, 40% reduction in code thanks to Rascal taking on error handling and recovery
   * `publish` returns a promise, callback is optional.
   * Added `QueueService.generateConfigFro... (continued)

20 of 125 relevant lines covered (16.0%)

0.96 hits per line

Relevant lines Covered
Build:
Build:
125 RELEVANT LINES 20 COVERED LINES
0.96 HITS PER LINE
Source Files on v2
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
11 v2 Rewrite using Rascal as our underlying driver # Breaking Changes * Underlying driver has changed from forked-version of postwait's `amqp` to rascal/amqplib * Queue configuration has changed, see rascal's configuration scheme * QueueService ... push 22 Mar 2019 08:33PM UTC kfitzgerald travis-ci pending completion  
10 v2 Dependency, eslint, travis updates push 21 Mar 2019 03:51PM UTC kfitzgerald travis-ci pending completion  
See All Builds (47)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc