• 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

Question On JMS

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Question Duplicate Consumption of messages in Clustered Envirornment with Publish/Subscriber type

Lets i have a MDB and that got deployed in clustered envirornment .

One of the client sent a message to the topic and the consumer or subscriber to this topic have been deployed in the clustered envirornment and is there a guarantee like when this topic is consumed by 1 MDB in one of the container and will the same topic will be consumed by the same MDB in another container?

If its consumed second container its like duplicate consumption will it really happen or am i thinking too much .

If this can happen how should we avoid this.

Thanks
-Nandu
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The message will be consumed only once by the same subscriber inside the cluster otherwise it breaks the JMS spec. The topic is visible to the entire cluster.
reply
    Bookmark Topic Watch Topic
  • New Topic