vert-x3 / vertx-tcp-eventbus-bridge

Apache License 2.0
49 stars 44 forks source link

Cannot address client errors #28

Closed vietj closed 7 years ago

vietj commented 7 years ago

Currently the bridge sends consumer errors without a consumer address with an envelope of type message and not address field.

The current SockJS bridge sends a envelope of type err with an address field plus other data (code, message) which allows to address client errors such as _NOHANDLERS or an explicit message failure.

I believe the tcp bridge should be modified to provide the same envelope than the SockJS bridge. In addition it would ease the implementation of bridges that can use TCP or SockJS transport.