This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 61b190af6553ca8bbb3043a658967c55f0024aea
Author: Tran Tien Duc <[email protected]>
AuthorDate: Wed Apr 3 17:37:36 2019 +0700

    JAMES-2727 Add predeletion hook configuration for template listeners.xml
---
 dockerfiles/run/guice/cassandra-ldap/destination/conf/listeners.xml    | 3 +++
 .../run/guice/cassandra-rabbitmq-ldap/destination/conf/listeners.xml   | 3 +++
 .../run/guice/cassandra-rabbitmq/destination/conf/listeners.xml        | 3 +++
 dockerfiles/run/guice/cassandra/destination/conf/listeners.xml         | 3 +++
 4 files changed, 12 insertions(+)

diff --git 
a/dockerfiles/run/guice/cassandra-ldap/destination/conf/listeners.xml 
b/dockerfiles/run/guice/cassandra-ldap/destination/conf/listeners.xml
index 8d68135..5ca68a4 100644
--- a/dockerfiles/run/guice/cassandra-ldap/destination/conf/listeners.xml
+++ b/dockerfiles/run/guice/cassandra-ldap/destination/conf/listeners.xml
@@ -26,4 +26,7 @@
   <listener>
     
<class>org.apache.james.mailbox.cassandra.MailboxOperationLoggingListener</class>
   </listener>
+  <preDeletionHook>
+    <class>org.apache.james.vault.DeletedMessageVaultHook</class>
+  </preDeletionHook>
 </listeners>
\ No newline at end of file
diff --git 
a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/listeners.xml 
b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/listeners.xml
index 8d68135..5ca68a4 100644
--- 
a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/listeners.xml
+++ 
b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/listeners.xml
@@ -26,4 +26,7 @@
   <listener>
     
<class>org.apache.james.mailbox.cassandra.MailboxOperationLoggingListener</class>
   </listener>
+  <preDeletionHook>
+    <class>org.apache.james.vault.DeletedMessageVaultHook</class>
+  </preDeletionHook>
 </listeners>
\ No newline at end of file
diff --git 
a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/listeners.xml 
b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/listeners.xml
index 8d68135..5ca68a4 100644
--- a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/listeners.xml
+++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/listeners.xml
@@ -26,4 +26,7 @@
   <listener>
     
<class>org.apache.james.mailbox.cassandra.MailboxOperationLoggingListener</class>
   </listener>
+  <preDeletionHook>
+    <class>org.apache.james.vault.DeletedMessageVaultHook</class>
+  </preDeletionHook>
 </listeners>
\ No newline at end of file
diff --git a/dockerfiles/run/guice/cassandra/destination/conf/listeners.xml 
b/dockerfiles/run/guice/cassandra/destination/conf/listeners.xml
index 8d68135..5ca68a4 100644
--- a/dockerfiles/run/guice/cassandra/destination/conf/listeners.xml
+++ b/dockerfiles/run/guice/cassandra/destination/conf/listeners.xml
@@ -26,4 +26,7 @@
   <listener>
     
<class>org.apache.james.mailbox.cassandra.MailboxOperationLoggingListener</class>
   </listener>
+  <preDeletionHook>
+    <class>org.apache.james.vault.DeletedMessageVaultHook</class>
+  </preDeletionHook>
 </listeners>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to