<div dir="ltr">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 :<div>- returning the http status code rather than returning void</div>
<div><br></div><div>- have a better exception handling and introduce a Sender specific Exception</div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 5:17 PM, Karel Piwko <span dir="ltr">&lt;<a href="mailto:kpiwko@redhat.com" target="_blank">kpiwko@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I went once again through<br>
<a href="http://lists.jboss.org/pipermail/aerogear-dev/2013-June/002901.html" target="_blank">http://lists.jboss.org/pipermail/aerogear-dev/2013-June/002901.html</a> - which<br>
says that Sender API should be fire&amp;forget. It feels more like &quot;maybe<br>
fire&quot;&amp;forget, for instance it does not say that your credentials were wrong - or<br>
it says, you need parse logs to get that information.<br>
<br>
If I think about Android, iOS, JS solutions to communicate with<br>
UnifiedPush we provide - Pipes - they always provide a callback to be executed<br>
on success/failure. Could we add callback to Sender API? Or should not Aerogear<br>
rather have something like Pipes abstraction for Java developers instead of<br>
pretty dumb Sender API?<br>
<br>
Thoughts?<br>
<br>
Thanks,<br>
<br>
Karel<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br></div></div></div>