I /think /that if you draw the picture for what you have described, you will
see that you are trying to share a JMS Connection *CX *between your
producing process (JMS client) *SSX *and a different consuming process *SRX
*(a different JMS Client).

Process SS1 cannot have the the same JMS Connection C1 as a different
process SR1.

I think you might be proposing using a single Queue Destination to pass
messages from each SSX to its counterpart SRX, with each consumer only
getting the messages produced by its counterpart producer.

Can you clarify if this is what you are trying to achieve? 

Note the first Anti-Pattern, the "Single-Purpose Queue" in the O'Reilly JMS
book, 2ed in Chapter 11 "Messaging Design Considerations."





-----
Michael Hayes B.Sc. (NUI), M.Sc. (DCU), SCSA SCNA 

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Can-we-connect-multiple-connection-for-the-same-destination-tp4551545p4564321.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to