I have a SOAP service, that when it is called, it creates a connection to the message broker, and either retrieves messages froma durable topic or publishes messages to that topic. The SOAP service can be called pretty quickly. I have insured that the threads are synchronized and that it also reuses active connections with the same clientid. Howeever, it appears that I get a already connected error still. I am pretty sure that the web service is synchroized, the debug statements appear to indicate that a connection was established, the message sent, connection closed, and the subsequent connection was establishe (which could be very quick after the close) failes with the error. Is it possible that there is some latency between the time the connection is closed on the client and the connection is actually closed on the server such that if a connection request on the same client id happens too quickly, it wil fail?
-- View this message in context: http://www.nabble.com/Client-already-connected-problem-tf1963708.html#a5388581 Sent from the ActiveMQ - User forum at Nabble.com.
