<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.28">
<TITLE>if anyone is having problems with slow propogation for <x xmlns="MY_NAMESPACE" messages...</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Just discovered something interesting with jabber1.4.3 and muc 0.6.0.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I've been having a problem with my jabber install where it's only allowing messages at a rate of about 1 every 2 seconds and dropping messages in between. I thought the problem was karma or maybe something in the config. What I finally figured out is that jabber just doesn't like <message> messages that don't have a non-empty <body> element. </FONT></P>
<P><FONT SIZE=2 FACE="Arial">What I had been sending were game-event messages that looked like this:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"><message></FONT>
<BR> <FONT SIZE=2 FACE="Arial"><x xmlns="mtvn/games"></FONT>
<BR> <FONT SIZE=2 FACE="Arial">// game event payload here</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </x></FONT>
<BR><FONT SIZE=2 FACE="Arial"></message></FONT>
<BR>
<BR><FONT SIZE=2 FACE="Arial">...no matter what I tried, these message would start to propogate very slowly after I had sent the first few.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I finally tried a test where I sent regular messages with a <body> and those propogated normally. I experimented a bit and now I'm doing this:</FONT></P>
<P><FONT SIZE=2 FACE="Arial"><message> </FONT>
<BR> <FONT SIZE=2 FACE="Arial">// this dummy body element seems to make jabber happy</FONT>
<BR> <FONT SIZE=2 FACE="Arial">// it doesn't work if you just send <body/></FONT>
<BR> <FONT SIZE=2 FACE="Arial"><body>1</body> </FONT>
<BR> <FONT SIZE=2 FACE="Arial"><x xmlns="mtvn/games"></FONT>
<BR> <FONT SIZE=2 FACE="Arial">// game event payload here</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </x></FONT>
<BR><FONT SIZE=2 FACE="Arial"></message></FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">...and propogation speed is back to normal.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I didn't look into jabber's internals at all to figure out why this might be so. Just thought I'd put it out there in case anyone comes across a similar problem.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">--Larry</FONT>
</P>
</BODY>
</HTML>