by Matthias Wessendorf
posted on 12 Nov 2014
For the Devoxx keynote we wanted to show off FeedHenry, because our libraries are server agnostic we thought it would be doable and thanks to some great help we got from the people at FeedHenry the integration with AeroGear was a breeze. Now it’s even available in a generic form for all FH users to use (as a mBaas Service) it uses our Node.js library, read more about it on the FeedHenry blog.
For those who didn’t have a chance to view the keynote demo, let me describe how it works. We create a mobile application that creates a photo and tweets it with a ‘special’ hash tag. People in the audience can tweet something and include these tags then a meme is created with their tweet text. Fuse is listening to tweets that come in and puts them in a queue, the FeedHenry backend ‘listens’ to this queue and creates a meme out of the tweet. When a new meme has been created the UnifiedPush server is used to inform the mobile client about that. The payload of the push message includes a URL of the meme that was created so the mobile client can show it. If the meme is extremely funny the mobile client can ‘retweet’ it.
The demo uses 2 node.js services one which connects to JBoss A-MQ for xPaaS running on OSE via TCP/STOMP protocol and the other one connecting to our UnifiedPush Server instance running on OpenShift Online via REST.