|
[
Permlink
| « Hide
]
Hiram Chirino added a comment - 16/Mar/06 11:41 PM
Thanks for the report! Fixed.
I did some testing this morning and here is what I found:
1. The broker is re-connecting. Looking at the connection in the JMX console all the brokers can see each other. This was not the case before. 2. The brokers that were not brought down are throwing the below exception when the broker re-connects. 3. Running the test again after the broker comes up only about 1/3 of the message make it to the broker that was brought back up and then it . INFO: Async error occurred: javax.jms.InvalidClientIDException: Broker: bfe-grieg - Client: NC_bfe-holst_inboundbfe-grieg already connected BTW I wonder if the exception you are getting is related to this fix...
http://jira.activemq.org/jira/browse/AMQ-600 which was causing InvalidClientIDException to be thrown when network errors occur by handling the IOException in the wrong way (BTW that issue was fixed in the last hour or so in SVN)
I pulled the latest code with the fix for
1. The brokers that were not brought down are still throwing the InvalidClientIDException when the broker that was brought down tries to re-connect. 2. Only about 1/3 of the message make it to the broker that was brought back up after running the test again. I've tried to setup a similar scenario. And I do see some message loss but when the broker is taken down but that can be expected since the messages are not persistent. Once the broker is brought back online, processing continues without message loss. When a broker is shutdown, any transient messages he had in it's queues will be dropped. Do you think this could explain the lost messages you've been seeing?
|
||||||||||||||||||||||||||||||||||||||||||||||||||||