AngularJS 1.x service wrapper for the Vert.x Event Bus
This is only an internal maintenance release (dependency stack). No changes in code at all.
:sheep: Sorry: 5.0.0 was really broken. I have fixed both invalid api signatures and documentations (and both were not matching) as well as adding additional features.
vertxEventBus.applyDefaultHeaders(headers)
(ced8e74)vertxEventBusService.publish()
has changed from boolean to Promise (just like send()
already).failureHandler
of EventBus.send()
has been removedThis callback has been obsolete since vertx-eventbus 3.1.0+. Solves #152
headers
is not skipable anymore.vertxEventBus.send()
has been changed!Before, it was address, message, replyHandler, failureHandler
. This has been changed to address, message, headers, replyHandler, failureHandler
. Note the additional headers
.
Actually, all method signatures of vertxEventBus
and vertxEventBusService
for sending, publishing, and registering/unregistering handlers have been changed to match the optional headers
introduced in EventBus 3.1. But only in case of .send()
it has a broken signature.
EventBus.onerror
(5e93cde)failureHandler
on send (bbec54c)type=err
messages (54c4b2b)login
has been removed completely. It will come back supporting login on connect providers as well (i.e. JWT over BasicAuth).vertx3bus
=> vertx-eventbus
. Also the file name itself has changed.EventBus
is a global now. No vertx.
anymore.vertxEventBusService
will handle this correct without a change, but vertxEventBus
has changed the signature being compliant: register('address', callback({address, message}))
=> register(callback(err, {address, message}))