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