<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 6:21 AM, Daniel Passos <span dir="ltr"><<a href="mailto:daniel@passos.me" target="_blank">daniel@passos.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><p style="margin:1.2em 0px!important">Hi guys</p>
<p style="margin:1.2em 0px!important">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:</p>
<ul style="margin:1.2em 0px;padding-left:2em">
<li style="margin:0.5em 0px">use<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre-wrap;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">defaultJavaSender.send(unifiedMessage);</code></pre>
but this method dosen’t exist.</li></ul></div></div></blockquote><div><br></div><div>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').</div>
<div>This all was part of the effort to get rid of the broadcast API (had several discussions on the ML and JIRA for that).</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><ul style="margin:1.2em 0px;padding-left:2em"><li style="margin:0.5em 0px"> I think the correct is sendTo or broadcast, but if I try use it I get[2]</li></ul></div></div></blockquote><div>Well, that broadcast is getting removed on the current sender, for above reasons.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><ul style="margin:1.2em 0px;padding-left:2em"><li style="margin:0.5em 0px"> <pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px">
<code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre-wrap;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">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]</code></pre></li></ul></div></div></blockquote><div><br></div><div>Hrm - looks like your dependencies are not right </div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><ul style="margin:1.2em 0px;padding-left:2em"><li style="margin:0.5em 0px">Documentation is not clear for me where I need add[2] JBoss workaround in standard.xml.</li>
</ul></div></div></blockquote><div><br></div><div>what work around ? You mean the Java7 issue? That's only for SSL, on Java7; not related for having no Jackson dependency.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><ul style="margin:1.2em 0px;padding-left:2em"><li style="margin:0.5em 0px"> Can I add it anywhere within the server tag?</li>
</ul>
<p style="margin:1.2em 0px!important">[1] <a href="https://github.com/aerogear/aerogear-unifiedpush-java-client" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-java-client</a> <br><br>[2] <a href="https://gist.github.com/danielpassos/f6d733197b995156722c" target="_blank">https://gist.github.com/danielpassos/f6d733197b995156722c</a> <br>
<br>[3] <a href="https://github.com/aerogear/aerogear-unifiedpush-java-client#known-issues" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-java-client#known-issues</a> <br></p>
</div></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matthias Wessendorf <br>
<br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>