I am developing distributed application ( 4 instances are running and controlled by Load balance. each instance is identical. one instance will not depend on another instance and each instance will do all operation ). Application needs to listen one JMS topic called "result". 4 instances are going to listen the same topic with same subscription id. I am using Camel pub sub. what will happen,
- will all instance get same JMS message ? ( duplicate transaction occur in application)
- will Only one instance get message and rest of the instance won't get the message ?
if answer is "Yes" for question 2 . will the same instance get message all the time util it goes down?
if answer is "yes" for question 3. will another instance receive the message , since that instance is down ?
I would like to achieve JMS pub sub in distributed application without duplicate message. please address my query and sorry if my question is not clear. let me know i will give more details.