[aerogear-dev] Java Sender API - fire&forget - adding callback methods?
Lucas Holmquist
lholmqui at redhat.com
Tue Sep 17 11:22:31 EDT 2013
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
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
More information about the aerogear-dev
mailing list