Is there a way to configure a custom domain so that it forwards XMPP messages to an App Engine app?
App Engine only allows you to use these formats for XMPP addresses:
app-id@appspot.com
anything@app-id.appspotchat.com
Is there be a way to configure a custom domain开发者_如何学运维 so that it forwards XMPP messages to one of these address formats.
For example, if my domain is called myxmpp.com
, I could give that out to users as my application's JID and then forward any user chat messages received there directly to myxmpp@appspot.com
(assuming myxmpp
is the app-id)?
I'm fairly sure that, to do this, you would need a custom XMPP server serving for your domain. I'm also fairly sure that you'd have to write said server yourself.
This site http://www.prosody.im/doc/dns explains what you need to configure in your DNS to do this.
精彩评论