This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I've some products and users.
Each product could be related to one or some or all users. When a user interact with a product, all users related to that product should be updated.
My application works in online and offline mode, so I need to send message among users when they come back online.
Products and users should change at any moment.
So I tried jms topics with durable subscriber and request/reply pattern with queues and message selector based on correlation id property.
But nothing seems to work for me. Message listeners pretend static properties for client id, correlation id and message selectors. Using a JMS consumer I have to manually consume messages.
Maybe I'm missing something, but I can't find a working optimal solution.
Substantially I need to implement something that works like an instant messaging system with user grouped in rooms. Users and rooms change dinamically. But instead of exchanging simple text message, interaction of all user with products should trigger long tasks.
Could xmpp be appropriate in this case?