I'd like to use JMS for InterPortlet Communication between portlets of different portlet applications.
I got so far that I'm able to exchange some Objects.
The problem is - for example when I use the "topic/testTopic" that this context seems to be shared among different users which are logged into the portal. So when two different users are logged in and they both use the same portlets which use JMS for IPC they can receive each others messages.
Is there a way how I can create topics/queues in a per user context ?
thanks in advance
You can use message headers. You can use message selectors, but they aren't that great in JBoss for large numbers of messages.
Instead of a selector, you could create a consumer that reads all traffic and puts it into user buckets.