> So if client 2 sends "hello" with a correlation ID of unique UUID to server 1 when server 1 sends the response will the broker know to send the message back to client 2.
No. As stated previously, the correlation ID is not used by the broker to dispatch messages to clients. I'm not exactly sure how to state the answer to your question any more plainly than that. Your original question was sufficiently clear. Justin On Wed, Sep 19, 2018 at 5:17 PM SlomanShield <slomanshi...@gmail.com> wrote: > I'm sorry i guess my question was not clear. Basically what it boils down > to, > is if a client sets a correlation ID that is unique and sends a message. > When the server responds will the broker know based on the correlation ID > which client sent the data. i.e > > client/producer 1: 192.168.1.2 > > client/producer 2: 192.168.1.3 > > consumer/server 1: 192.168.1.4 > > consumer/server 2: 192.168.1.5 > > Broker: 192.168.1.6 > > Queue name: TestQueue > > In this example if all clients are sending messages (and listening on temp > queues for responses) to the servers with unique correlation IDs. When the > server sends the response will it go to the client at originated the > message. > > So if client 2 sends "hello" with a correlation ID of unique UUID to server > 1 when server 1 sends the response will the broker know to send the message > back to client 2. > > Thanks > > PS thanks for the heads up ill post anymore new questions I have on the > other board :) > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html >