[aerogear-dev] Java Sender API - fire&forget - adding callback methods?

Douglas Campos qmx at qmx.me
Wed Sep 18 23:18:15 EDT 2013


On Tue, Sep 17, 2013 at 05:23:25PM +0200, Sebastien Blanc wrote:
> Callback do not make to much sense for the java implementation IMO (maybe
> for the Node implementation it makes more sense) but for the Java
> Implementation of the Sender we could discuss on :
> - returning the http status code rather than returning void
-1, Abstraction leak - If I need to care about status codes, it's better
for me to just go with plain REST calls.

> - have a better exception handling and introduce a Sender specific Exception
One plausible option, but having symmetry over the several clients isn't
a bad idea, so +1 to callbacks.


-- 
qmx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 527 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130919/2ff5c078/attachment-0001.bin 


More information about the aerogear-dev mailing list