• 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 queue and Topic

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Buddies,

Any one can explain the mechanism or architecture of Java Messaging Service in Clustered environments ?
1. I want to define a queue and a consumer application association to the queue and wants to make clustered, so it will be created across all Node i.e Node1,Node2.....Node.n.
2. If i want to fire a message. to queue through queue sender API, how it will work ? will the message. available for all queue(Physical) in all nodes across clustered or only one ?
3. How my consumer will work ? will all consumer will try to get/fetch message from queue or only one ?

Please...anyone can explain...???
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
MQSeries, ActiveMQ and I believe RabbitMQ will all do this for you.

It is up to you to configure the clustered environment.

WP
 
Author
Posts: 3473
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can think of the cluster as a single Queue. If you use a Queue, only one consumer can consume it. If you use a topic, all the subscribers will get the message. The cluster is essentially used for high availability. The middleware products like Websphere MQ, Web methods, TIBCO, etc allow you this clustering capabilities. You need to check the relevant product manual to configure the MOM product.
 
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic