I am working on a chat application based on jms. the common implementation generally use th pub/sub model with chatroom. in add a selector on an user_id, we can drive message to an other private user (only one subscriber) and not all people. this model seems ok , but use CPU calculation, isn't it?. an another model consist on p2p model, but we must declare a lot of Queux static (jboss-destination.) or temporary,and in this case,this use a lot of memory? i suppose. idees about this problem? More conceptually, how the best implementation and processing to build a private chat application between 2 user (one to one).
/more, how many Queue (static or temporary) jboss can successfuly manage for textmessage? Best Regards xs2iop