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

Okanjo / okanjo-app-queue / 12
100%

Build:
DEFAULT BRANCH: master
Ran 22 Mar 2019 08:33PM UTC
Jobs 2
Files 3
Run time 37s
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

pending completion
12

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.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12.1 22 Mar 2019 08:33PM UTC 0
16.0
Travis Job 12.1
2 12.2 22 Mar 2019 08:33PM UTC 0
16.0
Travis Job 12.2
Source Files on build 12
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12
  • 2b427045 on github
  • Prev Build on master (#9)
  • Next Build on master (#13)
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