Closed dazuiba closed 12 years ago
Sorry, no, there are no plans to include a Resque worker in em-apn.
I'm not sure that em-apn is suitable for traditional Resque workers, however, since the main benefit of em-apn is the persistent connection to Apple's push notification servers. I get the feeling that the forking model of Resque workers would sever the connection, even if the connection object is memoized. Let me know if you see otherwise.
You can also try out https://github.com/groupme/pace It's an event machine based resque reactor. It's pretty barebones and not super user friendly, BUT if you write a Message class and a Sender class you can probably pick off jobs and use em-apn. Bundle it up in a script. Step 3. Profit :)
I come from apn-sender. Apn-sender is not support apn so I want give a try on em-apn
When I walk through em-apn code , find I can use ./script/pusher, to send notifications to apple.
Apn-sender have a worker for resque-jobs. Does em-apn have plan on this kind of feature?