posted 14 years ago
Problem: If I put multiple messages on JMS then they should be distributed / load balanced between different servers in cluster for Websphere 6.x Network Deployment Manager.
Configuration: I have Deployment Manager Profile in Websphere 6.x in which an Application profile is federated having multiple servers, one is standalone server and two servers are part of cluster. JMS Queue, JMS Queue Connection Factory, JMS Activation Specification are created on Cluster level scope. SIB is created and Two Messaging Engine is created on each server in cluster, respective Messaging Engine Policy is also created for each.
Explanation: I am having two EAR's in my application non-clustered.ear and clustered.ear, nonclustered.ear is deployed on standalone server and clustered.ear is deployed on clustered environment which are having two servers as a member.
I am putting message on JMS Queue configured on Cluster Level of scope from non-clustered.ear and MDB’s on clustered.ear will listen to that JMS Queue. When I put multiple messages on queue, all of them are picked by any one server in the cluster.
I want that if I put multiple messages on JMS then they should be distributed / load balanced between different servers in cluster.