On Mon, Nov 10, 2014 at 8:31 AM, Erik Jan de Wit <edewit@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();

+1 and #agreed on doing this on master (not the 1.0.x branch)

-Matthias

 




_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev



--