[JDEV] RE: Yaja Help
Mike Prince
mike at mikeprince.com
Thu Jul 24 01:39:30 CDT 2003
I'm in j2 land right now and don't remember how (if?) this can be done.
Can someone familiar with 1.4 point him the right direction?
FWIW, if the answer is that JabberD 1.4 can't send all the packets, then
it's pretty simple to write a module to do what you want. As an
example, I wanted ALL the <presence> packets (some of which aren't
forwarded via <presence><bcc>) so I wrote a module that wrapped them
into a message and forwarded them to my component. Only took around 200
lines of code to do (including *a lot* of comments and white space :)
Hope that helps,
Mike
> -----Original Message-----
> From: TABISH.SHAIKH at ponl.com [mailto:TABISH.SHAIKH at ponl.com]
> Sent: Thursday, July 24, 2003 10:08 AM
> To: mike
> Subject: Yaja Help
>
>
> Hi,
>
> I am developing a Jabber component using YAJA API
>
> In the yaja Readme.html you have stated that we need to ...
>
> Add the following to the the <jsm> element to receive a copy
> of all presence messages. <presence>
> <bcc>yaja.localhost</bcc>
> </presence>
>
> What I would like to know is .....
>
> What tags do we need to add to the <jsm> element to recive a
> copy of all the packets
>
> that are sent and recived by the Jabber Server
>
>
> Regards,
>
> Tabish Shaikh
>
More information about the JDev
mailing list