I'm having quite a bit of trouble understanding how to have an automatic 
registration working with Camel XMPP talking to my EJabberD server.  
Essentially, I have ServiceMix with Camel running on the same machine as an 
EJabberD instance.  I have reviewed the docs at 
http://camel.apache.org/xmpp.html and they are a bit confusing.  Supposing I 
had a EJAbberD domain setup as centos, and an admin user/password combination 
as "admin" and "password", if I wanted to register a user test with password 
testpassword, would the correct URI be one of the following?

xmpp://test@centos/testagent:5222/?createAccount=true&password= testpassword
xmpp://admin@centos:5222/test@centos/testagent?createAccount=true&password= 
testpassword
xmpp://admin@centos:5222/test@centos?createAccount=true&password= testpassword
xmpp://test@centos:5222/?createAccount=true&password= testpassword


It is not clear to me if the password is for the account I'm trying to create 
or if it is for the admin user.  It is also not clear whether or not I need an 
agent at the end of the jabber ID I'm trying to create.  I also cannot figure 
out if there needs to be a body for the create account command, and if so, what 
it should the payload look like.  Finally, I'm an EJabberD configuration newbie 
and after reviewing the docs and various help entries/forumns, I added some 
configuration to my ejabberd.cfg:

{access, register, [{allow, admin}]}.
...
{modules,
{
...
    {mod_register, [{access, register}]}
]}.

To no avail.  The stack traces I'm getting are MASSIVE and I don't even know 
where to begin breaking them down for a coherent email.



Thank you,
Zach

Reply via email to