Functional Requirement 4 (used to be: Do not acknowlege payload from Queue until the Registry Change Bean has responded that the message has been processed.) effectively limits RegistryRepl to only process one record at any given time. This is because the MessageListener will not get another message until the current message is acknowledged. We will still experience a large queue of changes from the Registry as we do currently. Building records concurrently is the only way to speed up replication as record building is the only real bottleneck. To do this, we must acknowledge the message before calling the RegistryChange Bean. So, what do we want: slow and reliable, or fast and less reliable. We can make concurrent building of records more reliable if we can publish messages back to the queue as well as block on RegistryChange errors (bean is not deployed or something similar). —
dhawes@vt.edu 2005/06/09 17:13