I'm trying to learn and understand how XMPP works.
As I understand it, node-xmpp-bosh is a connection manager. A connection manager is not a full blown xmpp server, but sort of acts like a proxy, and forwards the xmpp requests on to a dedicated xmpp server. This results in saving the dedicated xmpp server some of the load it would usually undertake in handling connections - Though I'm not fully sure how this results in savings, or why there's such an overhead in handling connections.
I've been provided with an OpenFire xmpp server to connect to, but this resides on a different domain to my web application. I've decided to use node-xmpp-bosh as a proxy to get around the XSS issues that would result, and this should also allow me to use websockets with a BOSH fallback for older browsers.
I'm trying to use the Strophe.js library in my client application to send the actual messages.
How do I configure node-xmpp-bosh to forward the requests on to the actual xmpp server? The documentation doesn't make this very clear, so I presume it's only forwarding requests to an xmpp server on the same machine that hosts the connection manager. Also, do I need to configure Strophe differently in order to use a connection manager, or do I simply send the request to the connection manager, and this should send it on for me.
Many thanks in advance