[jdev] Getting individual roster items
Jack Moffitt
jack at chesspark.com
Tue Nov 25 10:54:19 CST 2008
> Thanks for the info on components. I definitely need to read up a bit
> more on it. The only snag I see is that right now, I am taking
> advantage of broadcast and resource affinity behavior of client bots
> that can be achieved by sending to the jid with or without a resource
> identifier. With components, it seems requests would get round-robined
> in ejabberd, which is actually not desirable for the way my bot
> currently addresses scaling.
Your component will get anything sent to the domain portion, including
any node and resources used. So it's easy enough to write your own
stanza router inside the component if all you need is broadcast to all
resources of a bare JID.
jack.
More information about the JDev
mailing list