<div dir="ltr"><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 </blockquote><div><br></div><div><br></div><div>the server returns 401 if credentials are wrong, so that piece does tell you what&#39;s going wrong :-)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- 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></blockquote><div><br></div><div>we could add some sort of callback:</div><div>success --&gt; 200</div><div>error 40x/500 status codes</div><div><br></div><div><br></div><div>@200: it does not mean too much, the actual processing starts AFTER the response returns; but it would be a good indicator: yes, I could at least submit the job to the UnifiedPush server. Currently, I agree, it&#39;s more like.... well did UPS receive my request &gt; </div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thoughts?<br>
<br>
Thanks,<br>
<br>
Karel<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>

twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>