3

I have a requirement which is that I have to push the messages to various users who are using android or iphone devices.I know the individual process to send the push notification to android or iphone application.

Now my work is that I need to do the server side implementation in java so that messages can be sent to android and iphone devices.The number of users using the andrioid and iphone devices is large say 10000 people.

So to implement this requirement What should be the approach. What should be my approach to send the multicast messages to android and iphone devices? I am thinking of using the threads say there are 10000 users and I have made 10 threads so each thread out of 10 thread will handle push notifications for 1000(=10000/10) users.

Any other suugestion..

Should I use JMS and if yes then what should be the approach using JMS.

Please suggest me its very much urgent.

Thanks in advance.

4

2 回答 2

4

我目前正在做的是:

  1. 接收想要发送推送通知的输入
  2. 将其发送到 ActiveMQ 队列
  3. 侦听器接收到该消息,然后让另一个类构建要发送给用户的消息
  4. 然后根据步骤 3 将新消息发送到另一个 ActiveMQ 队列
  5. 侦听器收到该消息,然后根据设备类型让另一个类向用户设备发出消息

我走这条路线的原因是步骤 1、3、5 可能会concurrencyapplicationContext.xml.

示例图片

于 2013-01-18T14:43:38.510 回答
0

如果您有预算并且紧急结帐http://urbanairship.com/

我用过它,它很棒。

于 2013-01-18T14:10:40.930 回答