| Author | unknown |
| Date | unknown |
| Updated by | Catherine Winfrey |
| Date | 2008/07/18 |
The Mail Replication Service is one of the Replication Services of the clients-repl subversion project. See Replication Services Overview for a description of the overall replication process. This documentation describes the target system specific processing referred to in that documentation.
The mail server target system specific processing is as follows:
sendSPML() method.
Communication with the mail server uses an Ldap connection.
The Mail Replication Service includes the implementation of the record data processing, which usually is not part of the Replication Services in the clients-repl project. The record data processing is as follows:
Note that no Ldap calls are executed unless some data change is detected. This improves performance and does not unnecessarily change the modification timestamp of the mail server record.
The selection is performed by the Registry Change Bean.
Template SPML Batch Requests:
<batchRequest xmlns:spml="urn:oasis:names:tc:SPML:1:0" xmlns:dsml="http://www.dsml.org/DSML" onError="exit" processing="sequential"> <spml:addRequest> <spml:identifier type="urn:vt.edu:SPML:person"> <spml:id>uid=1234,ou=People,dc=vt,dc=edu</spml:id> </spml:identifier> <spml:attributes> <dsml:attr name="single-valued-attribute"> <dsml:value>value</dsml:value> </dsml:attr> <dsml:attr name="multi-valued-attribute"> <dsml:value>value1</dsml:value> <dsml:value>value2</dsml:value> </dsml:attr> </spml:attributes> </spml:addRequest> </batchRequest>
sendSPML() method by throwing a ReplException.sendSPML() method using normal return because no retry is needed.