[JDEV] Question: packet routing
Ian Littlewood
ian.littlewood at hummingbird.com
Thu Jul 25 12:42:51 CDT 2002
If I understand things correctly, each 'Service' type of component can
receive at least the three main packets (<message/>, <presence/>, <iq/>) -
so if a <message/> comes in from c2s (which, for simplicity is of type
"normal"), and I have three 'Service' components registered for the
"<message/>" packet then all three services will be handed the packet even
though the intent is to have it handled by the JSM for delivery to another
user on the server.
What if, say, the '2s2' component and the 'jsm' component are both listening
for <message/> packets and one comes in from 'c2s'? Will both the 'jsm' and
's2s' receive the message packet and it's up to one or the other to ignore
it?
More information about the JDev
mailing list