Rajit kumar wrote:
1) Shall i use JMS Queue and Topics for above scenario?
Rajit kumar wrote:
2) Shall i implement Public - subscribe ?
Rajit kumar wrote:
3) would Poll based messaging help to resolve ?
Rajit kumar wrote:I need help in design Message Center that resemble of LinkedIn on Spring Framework. I have situation like this where The Messages can be accessed on web ,Android and iOS platform. I have some initial thoughts of design above scenario by using Restful to access services to iOS and Android over push notifications. The core components of MC will be placed on Web Server so same should be used by web too.
Message Center should support broadcast and point-to-point message system. It should also help in real time messaging. The design should also scale for 30-50 users load.
Rajit kumar wrote:
I mean Poll based messaging is pull based where client polls for queue messages at regular intervals so would pull based recommended over push based ?if i want to start new app.
what i understand from push-based model - A listener subscribes to an event that is triggered whenever a message arrives on a queue. The listener in turn can initiate message processing thus not having to poll the queue in order to determine whether or not any new work is available.
What I want to implement pull based messaging where listener(poll regular intervals) listens to queue whenever a message arrives on a queue from subscriber then message will be updated queue and database as well.
Is it recommend for messaging center if so, are there any implications like load factors if i choose pull based over push.
Rajit kumar wrote:
That sounds good...I have done few implementations in past based on JMS specs using brokers like IBM MQ and weblogic message bus on EJB 2.1 and EJB 1.1 but tricky part in new specs says integrate different devices i.e.. iOS , Android and Web app.The app should be flexible enough to integrate with windows phones in future.The key thing maintainability of components. The app would need some integration architecture like ESB to integrate rest and JMS or DOES it really require ESB just for pub/sub and restful (webservices to android/iOS) or just JMS and restful will do. If i use JMS , how can i post messages to Android/iOS Push Notification server.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |