On Wed, Oct 16, 2013 at 6:21 AM, Daniel Passos <daniel(a)passos.me> wrote:
Hi guys
I’m preparing my talk for MobileConf this weekend and would like to talk
about push. I tried to use Java Sender, but, I’m a little confuse. The
documentation say:
- use
defaultJavaSender.send(unifiedMessage);
but this method dosen’t exist.
that was introduced in 0.3.0-SNAPSHOT (currently on master), to match the
server that is currently on master (and on the 0.8.1 'staging').
This all was part of the effort to get rid of the broadcast API (had
several discussions on the ML and JIRA for that).
- I think the correct is sendTo or broadcast, but if I try use it I
get[2]
Well, that broadcast is getting removed on the current sender, for above
reasons.
-
Caused by: java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
at org.jboss.aerogear.unifiedpush.SenderClient.transformJSON(SenderClient.java:205)
[unified-push-java-client-0.2.2.jar:0.2.2]
Hrm - looks like your dependencies are not right
- Documentation is not clear for me where I need add[2] JBoss
workaround in standard.xml.
what work around ? You mean the Java7 issue? That's only for SSL, on Java7;
not related for having no Jackson dependency.
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf