Hi.

I'm trying out ProtonJ2 client and I noticed it's only possible to check
the status of a sent message and receive messages in a "pull-based manner"
(Future<Tracker> and Receiver#receive).

I was wondering what the rationale is behind this design (e.g. let the user
decide on the threading model to get outbound message status and inbound
messages). Are there any plans to provide an asynchronous API in the client
library, based on e.g. user-provided callbacks or standard API like
CompletableFuture?

Thanks!

Reply via email to