This is not possible with current GAE XMPP support. The problem is user / server addressing: The GAE XMPP API sends messages to users identified by email addresses. It then searches for DNS to record the XMPP SRV server (for example, dig srv _xmpp-server._tcp.gmail.com + short to search for XMPP servers for @ gmail.com addresses). This is not how GCM CCS works - you need to connect to a fixed server.
OTOH, you can use the outgoing socket API and then implement the XMPP protocol.
source share