Hi,I start looking at the repo. I have some general questions and then more (not that much implementation detailed ;) ) specific proposals* Is our final goal to propose an implementation that we really want the developers to use or is it more providing a reference implementation of the sender API and developer will most of the time implement their own ?
* How are we going to secure the API ?
* The API looks like now "fire & forget", do we plan to change that ?
I can imagine that people using the sender need to have some "feedback/return value/response" to manage their flows ?
* You say one will go away, why is that ? Do we want to lean toward a single implementation ?
We could propose different ones (and in different language, like a vertx mod client)
So, now a bit more specific :I've been forking your repo : https://github.com/sebastienblanc/ag-java-sender/tree/refactoringTo factor more code and make the sender API really unit testable (running without any server) I've moved a bit things and introduced a sort of Client interface that will implement really the http client we will use, this client is then injected in the sender interface.
With Arquillian should be easy to add real integration tests.
Let's discuss !SebiOn Mon, Jun 3, 2013 at 9:00 PM, Matthias Wessendorf <matzew@apache.org> wrote:_______________________________________________Hello,a FIRST version of the Java Sender API is ready:Two implementations, based on different Java HTTP clients:* RestEasy:* AsyncHttpClient:One will go away, time will tell... not important now...Tests:More functionality (e.g. selective send for deviceType, MobileVariant) will follow, hand in hand with the matching endpoints-Matthias--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev