[aerogear-dev] PushEE: JMS support
Matthias Wessendorf
matzew at apache.org
Mon May 20 08:20:53 EDT 2013
Hi,
for ticket "AEROGEAR-1222" ([1]) I looked a bit at JMS integration hooks.
The JIRA has an updated description, and two SIMPLE "UML diagrams".
Also, I created a branch that uses JMS for (GCM/APNs) based broadcast (more
to follow later this week).
Example:
The HTTP enpoint for the "broadcast sender", publishes a JMS messages and
immediately returns:
https://github.com/matzew/pushee/blob/Messaging/src/main/java/org/aerogear/connectivity/rest/SenderEndpoint.java#L71-L91
Yes, there is no guarantee at all, that the message really arrives the
device (see Apple/GCM doc for details)
Behind the sceneses, a "Consumer" is responsible to deliver the message to
the network:
https://github.com/matzew/pushee/blob/Messaging/src/main/java/org/aerogear/connectivity/jms/sender/GlobalPushNotificationSenderListener.java#L46-L58
The code above performs all the "heavy" work ("blocking" JPA lookups and
PushNEtwork Delivery)..
We now should use the "standalone-full.xml" 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 "standalone-full.xml" file
More during the week,
Matthias
[1] http://jira.jboss.org/browse/AEROGEAR-1222
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20130520/30471d18/attachment.html
More information about the aerogear-dev
mailing list