<div dir="ltr"><div>Hi,</div><div><br></div><div>for ticket &quot;AEROGEAR-1222&quot; ([1]) I looked a bit at JMS integration hooks. The JIRA has an updated description, and two SIMPLE &quot;UML diagrams&quot;.</div><div><br>
</div><div><br></div><div>Also, I created a branch that uses JMS for (GCM/APNs) based broadcast (more to follow later this week).</div><div><br></div><div>Example:</div><div><br></div><div>The HTTP enpoint for the &quot;broadcast sender&quot;, publishes a JMS messages and immediately returns:</div>
<div><a href="https://github.com/matzew/pushee/blob/Messaging/src/main/java/org/aerogear/connectivity/rest/SenderEndpoint.java#L71-L91">https://github.com/matzew/pushee/blob/Messaging/src/main/java/org/aerogear/connectivity/rest/SenderEndpoint.java#L71-L91</a></div>
<div><br></div><div>Yes, there is no guarantee at all, that the message really arrives the device (see Apple/GCM doc for details)</div><div><br></div><div>Behind the sceneses, a &quot;Consumer&quot; is responsible to deliver the message to the network:</div>
<div><a href="https://github.com/matzew/pushee/blob/Messaging/src/main/java/org/aerogear/connectivity/jms/sender/GlobalPushNotificationSenderListener.java#L46-L58">https://github.com/matzew/pushee/blob/Messaging/src/main/java/org/aerogear/connectivity/jms/sender/GlobalPushNotificationSenderListener.java#L46-L58</a></div>
<div><br></div><div>The code above performs all the &quot;heavy&quot; work (&quot;blocking&quot; JPA lookups and PushNEtwork Delivery).. </div><div><br></div><div><br></div><div>We now should use the &quot;standalone-full.xml&quot; configuration, since that supports JMS. I double checked and the SimplePush/Netty Adapter are working fine here too.... also, for JMS (for now), we need to declare some JMS topics in the &quot;standalone-full.xml&quot; file</div>
<div><br></div><div>More during the week,</div><div><br></div><div>Matthias</div><div><br></div><div>[1] <a href="http://jira.jboss.org/browse/AEROGEAR-1222">http://jira.jboss.org/browse/AEROGEAR-1222</a></div><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>