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

Apostolos Emmanouilidis aemmanou at redhat.com
Thu Sep 19 12:59:53 EDT 2013


On Tue, 2013-09-17 at 11:22 -0400, Lucas Holmquist wrote:

> There server does send a response, "submitted" or something like that.  So maybe there should be callbacks
> 
> the node.js sender has callbacks for success and error


+ 1 for callbacks


> 
> On Sep 17, 2013, at 11:17 AM, Karel Piwko <kpiwko at redhat.com> wrote:
> 
> > Hi,
> > 
> > I went once again through
> > http://lists.jboss.org/pipermail/aerogear-dev/2013-June/002901.html - which
> > says that Sender API should be fire&forget. It feels more like "maybe
> > fire"&forget, for instance it does not say that your credentials were wrong - or
> > it says, you need parse logs to get that information. 
> > 
> > If I think about Android, iOS, JS solutions to communicate with
> > UnifiedPush we provide - Pipes - they always provide a callback to be executed
> > on success/failure. Could we add callback to Sender API? Or should not Aerogear
> > rather have something like Pipes abstraction for Java developers instead of
> > pretty dumb Sender API?
> > 
> > Thoughts?
> > 
> > Thanks,
> > 
> > Karel 
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> 
> 
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130919/3eb0410d/attachment.html 


More information about the aerogear-dev mailing list