Hi guys,

/wrt the GCM Topics support PR https://github.com/aerogear/aerogear-unifiedpush-server/pull/626

me and summersp have discussed how JMS should be used to route messages.


Current implementation loads tokens and conditionally sends either message with registration IDs or topics.

There are two things yet to be solved:

That's why I suggested to split implementation to two JMS queues talking to two sender impls (e.g. GCMTopicSender and GCMRegistrationIdsSender).
Additionally we get an ability to configure these two message routes individually on the JMS level (better utilization, transact-ability, fail over).


What do you think?


Cheers,

~ Lukas