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 ?
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.