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

Matthias Wessendorf matzew at apache.org
Thu Sep 19 10:16:15 EDT 2013


On Thu, Sep 19, 2013 at 4:13 PM, Summers Pittman <supittma at redhat.com>wrote:

> On 09/18/2013 09:37 AM, Karel Piwko wrote:
> > On Wed, 18 Sep 2013 09:31:36 -0400
> > Summers Pittman <supittma at redhat.com> wrote:
> >
> >> On 09/17/2013 11:17 AM, Karel Piwko 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?
> >> In a bit of crazy land perhaps the client could keep a web socket or BSD
> >> Socket open to the server which would let it get callbacks about things
> >> that happen further down the tree.
> > Isn't this land called vert.x?
> Maybe I misunderstood.  I thought it was wanting to get information from
> the push server about the status of messages being sent not the response
> of the commands to the push server itself.
>

well, all the server tells is:
* job submit for processing (aka I am now dispatching to Google, Apple etc)
* 401 auth issue
* 500 errors

-M


> >
> >>> 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
> > _______________________________________________
> > 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
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130919/a86e8da5/attachment.html 


More information about the aerogear-dev mailing list