PDA

View Full Version : Looking for response message from various ActiveMQ servers.



krusen
Oct 4th, 2005, 02:43 AM
Hi to everybody, and thx in advance.
Can I check for a response message (JMSCorrelationID) in more than one server?. I' m using a network of brokers with ActiveMQ, and the list:tcp:.... protocol on the client side, but I've some messages that I send to one server, but the reply comes from the other server, so I lost this response (timeout). Is there a way to check in various server? My idea is to force to change to the other servers is I got a timeout from any of them.

Thx to everbody

jstrachan
Oct 8th, 2005, 01:34 AM
Responses sent to you (using temporary queues right?) should travel across ActiveMQ networks to reach your process.

If you are having trouble getting networks setup you could try the ActiveMQ mailing lists?

http://activemq.org/Mailing+Lists

krusen
Oct 8th, 2005, 04:32 AM
Thx, James, I found the solution. it was a problem of the connection factory (a connection factory developed by us), so the client was changing all the time of connection (status changed every second). Now with the org.activemq.pool.PooledConnectionFactory, I got 100% of reply messages

Thanx James and all logicblaze team for this great software