vert-x3 / vertx-amqp-client

An AMQP client for Vert.x
Apache License 2.0
17 stars 18 forks source link

Deprecate method declaring an Handler<AmqpMessage> parameter #20

Closed vietj closed 5 years ago

vietj commented 5 years ago

Currently the client declares a few methods that takes an Handler<AmqpMessage as parameter, this handler is then set on a ReadStream<AmqpMessage>. Such method raise issues with futurisation as the futurised form has the same erased signature than other methods, e.g

Future<AmqpReceiver> createReceiver(String, Handler<AmqpMessage>);
void createReceiver(String, Handler<AsyncResult<AmqpReceiver>>);

Such methods are removed in Vert.x 4 and are deprecated in 3.x