• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jms message listener

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic