|
Kai Hudalla made changes - 06/Jun/08 07:15 AM
I have changed the connectWork to loop until it finally gets a connection to the broker instead of re-scheduling itself after a failed connection attempt. This way, the monitor on connectWork is kept until the connection succeeds. In order to make this work, the ActiveMQConnectionConsumer needs to use asyncSendPacket() for registering itself with the consumer to avoid a deadlock on the connectWork.
The patch also includes David's fix for the prefetchSize calculation in the EndpointWorker. Kai
Kai Hudalla made changes - 06/Jun/08 07:22 AM
Rob Davies made changes - 06/Jun/08 11:59 AM
Patch applied by SVN revision 664079 and 664082
Rob Davies made changes - 06/Jun/08 11:59 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AMQ-1632still has some issues regarding synchronization:Kai