multiple clients one server architicture using queues
My case is as follow, I have one master machine and 7 clients machine. I add activemq between these machines. The clients machine send messages to the master machines and the master machine send individual messages to each client.
I implement the following solution, I am using a queues structure as a medium for communication. The solution works for only one client server, but when I add another client to this architecture the activemq does not receive any messages. until I turn off the first client. giving the following exception.
javax.jms.InvalidClientIDException: Broker: localhost - Client: NC_localhost_outbound already connected from tcp://0.0.0.77:59730
It sounds like maybe you're trying to connect from multiple consumers with
non-unique client IDs. Each consumer needs a unique ID; can you confirm
that you're using unique IDs in each client? Though I'm surprised you
wouldn't see that message till *after* the first client disconnects...