public class NotificationRouter extends Object
UnifiedPushMessage and submits it to messaging subsystem for further processing.
Router splits messages to specific variant types (push network type) so that they can be processed separately,
giving attention to limitations and requirements of specific push networks.
NotificationRouter receives a request for sending a UnifiedPushMessage and queues one message per variant type, both in transaction.
The transactional behavior makes sure the request for sending notification is recorded and then asynchronously processed.
The further processing of the push message happens in TokenLoader.| Constructor and Description |
|---|
NotificationRouter() |
| Modifier and Type | Method and Description |
|---|---|
void |
submit(PushApplication pushApplication,
InternalUnifiedPushMessage message)
Receives a request for sending a
UnifiedPushMessage and queues one message per variant type, both in one transaction. |
public void submit(PushApplication pushApplication, InternalUnifiedPushMessage message)
UnifiedPushMessage and queues one message per variant type, both in one transaction.
Once this method returns, message is recorded and will be eventually delivered in the future.pushApplication - the push applicationmessage - the messageCopyright © 2018 JBoss by Red Hat. All rights reserved.