Only receive messages for current resource

If a user is logged in with user@server/resource1 and user@server/resource2 at the same time and another user sends different messages to user@server/resource1 and user@server/resource2, is it possible to restrict the message routing so that the resources only get messages which are directed to the resource name?
The session user@server/resource1 should only receive messages for resource1 and the session user@server/resource2 should only receive messages for resource2.

This is a question about the

This is a question about the protocol. You can start looking at "RFC 3921: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence"

Syndicate content