[aerogear-dev] Proposal to change the Java Sender Builder API

Douglas Campos qmx at qmx.me
Mon Nov 10 12:02:14 EST 2014


On Mon, Nov 10, 2014 at 08:51:55AM +0100, Corinne Krych wrote:
> +1 too
> also I like the idea of dropping "Java" in JavaSender for a more
> descriptive PushSender or PushAppSender to get the information this sender
> is linked to an Push app
That's a nice idea! +1

> 
> ++
> Corinne
> 
> On 10 November 2014 08:31, Erik Jan de Wit <edewit at redhat.com> wrote:
> 
> > +1 I like the static methods for creating the builder
> > Also makes perfect sense to make the applicationId and masterSecret part
> > of the sender.
> >
> >
> > PushSender client = DefaultPushSender.withRootServerURL("
> > http://aerogear.example.com/ag-push")
> >                 .proxy("proxy", 8080)
> >                 .proxyType(Proxy.Type.HTTP)
> >                 .build();
> > PushSender client =
> > DefaultPushSender.withConfig("/path/on/classpath/push-config.json").build();
> > PushSender client = DefaultPushSender.withConfig(inputstream).build();
> >
> >
> >
> >
> > _______________________________________________
> > 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


-- 
qmx


More information about the aerogear-dev mailing list