Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » Creating QAnywhere Applications » Setting up QAnywhere messaging


Using push notifications

A push notification is a special message delivered from the server message store to a QAnywhere client that prompts the client to initiate a message transmission. Push notification is on by default but is optional. Push notifications introduce extra components to the QAnywhere architecture:

  • At the server, a QAnywhere Notifier sends push notifications.
  • At the client, a QAnywhere Listener receives these push notifications and passes them on to the QAnywhere Agent.
  • At the client, a notification of each push notification is sent to the system queue.

If you use the scheduled or automatic QAnywhere Agent policies, push notifications automatically cause clients to initiate message transmission. If you use the on demand policy, you must handle push requests manually using an event handler.

For more information about manually handling push notifications, see Notifications of push notification.

For more information about QAnywhere Agent policies, see Determining when message transmission should occur on the client.

Push notifications are enabled by default: the qaagent -push option is by default set to connected. In connected mode, push notifications are sent over TCP/IP persistent connection.

If you are using UDP, push notifications are likely to work without any configuration, but due to a limitation in the UDP implementation of ActiveSync, they do not work with ActiveSync.

See also

Configuring push notifications