[JDEV] Missed my question ??
Gerard BUNEL
gerard.bunel at ago.fr
Fri May 18 11:07:43 CDT 2001
I'm trying to handle some Jabber request on an application server.
For example I did search how to handle jabber:iq:auth request
I found it in the archives where an answer is to define a service like
this
(which uses accept, there)
<service id"myservice">
<hosts/>
<accept>
<port>5263</port>
<secret>test</secret>
</accept>
</service>
Then in the <jsm ...> section add
<auth>myservice</auth>
And it works OK.
I also found how to handle XDB requests
<xdb id="my_xdb">
<hosts/>
<accept>
<port>5264</port>
<secret>test</secret>
</accept>
</xdb>
And it also works OK.
But I should like to open only one port.
So isn't it possible to share the same port for a service handling the
jabber:iq:auth requests and the XDB requests ?
Now I should like to be able to filter <presence> request by the App
Server.
Is there a way to do it as I did for <auth> ?
I've tried by putting a <presence>mypresence_service</presence> in the
<jsm> section
But nothing comes to the App server
--
gerard.bunel at ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - Site du Vernis - 29608 Brest cedex -
France
Tel. : +33 2 98 05 43 21 - Fax. : +33 2 98 05 20 34
e-mail: atlantide-brest at ago.fr
Centre Affaires Oberthur - 74D, rue de Paris - 35700 Rennes - France
Tel. : +33 2 99 84 15 84 - Fax : +33 2 99 84 15 85
e-mail: atlantide-rennes at ago.fr
More information about the JDev
mailing list