You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2024/03/29 02:25:34 UTC

(james-project) 03/05: JAMES-2586 Postgres - Binding QuotaMailing module for postgres app Tung Tran 10 minutes ago

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

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

commit 1eecbf0a4cf81c5f46b76fcf28a6bfb0a35ef007
Author: Tung Tran <vt...@linagora.com>
AuthorDate: Wed Mar 27 18:00:51 2024 +0700

    JAMES-2586 Postgres - Binding QuotaMailing module for postgres app Tung Tran 10 minutes ago
---
 .../src/main/java/org/apache/james/PostgresJamesServerMain.java      | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/server/apps/postgres-app/src/main/java/org/apache/james/PostgresJamesServerMain.java b/server/apps/postgres-app/src/main/java/org/apache/james/PostgresJamesServerMain.java
index 2ea342ecdf..452742958e 100644
--- a/server/apps/postgres-app/src/main/java/org/apache/james/PostgresJamesServerMain.java
+++ b/server/apps/postgres-app/src/main/java/org/apache/james/PostgresJamesServerMain.java
@@ -44,6 +44,7 @@ import org.apache.james.modules.mailbox.DefaultEventModule;
 import org.apache.james.modules.mailbox.PostgresDeletedMessageVaultModule;
 import org.apache.james.modules.mailbox.PostgresMailboxModule;
 import org.apache.james.modules.mailbox.TikaMailboxModule;
+import org.apache.james.modules.plugins.QuotaMailingModule;
 import org.apache.james.modules.protocols.IMAPServerModule;
 import org.apache.james.modules.protocols.JMAPServerModule;
 import org.apache.james.modules.protocols.JmapEventBusModule;
@@ -125,8 +126,10 @@ public class PostgresJamesServerMain implements JamesServerMain {
         new JmapEventBusModule(),
         new JMAPServerModule());
 
+    public static final Module PLUGINS = new QuotaMailingModule();
+
     private static final Module POSTGRES_MODULE_AGGREGATE = Modules.combine(
-        new MailetProcessingModule(), POSTGRES_SERVER_MODULE, PROTOCOLS, JMAP);
+        new MailetProcessingModule(), POSTGRES_SERVER_MODULE, PROTOCOLS, JMAP, PLUGINS);
 
     public static void main(String[] args) throws Exception {
         ExtraProperties.initialize();


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org