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/04/02 02:26:22 UTC
(james-project) 05/08: JAMES-2586 Disable DistributedTaskSerializationModule
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 65a92c33f242951594a726eb8e1aac5e06188f02
Author: Quan Tran <hq...@linagora.com>
AuthorDate: Mon Apr 1 14:47:06 2024 +0700
JAMES-2586 Disable DistributedTaskSerializationModule
TODO handle [Guice/CanNotProxyClass]: Tried proxying JsonTaskSerializer to support a circular dependency, but it is not an interface.
in another ticket.
---
.../src/main/java/org/apache/james/PostgresJamesServerMain.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 358b3eb401..1a481e6fb2 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
@@ -28,7 +28,6 @@ import org.apache.james.jmap.draft.JMAPListenerModule;
import org.apache.james.json.DTO;
import org.apache.james.json.DTOModule;
import org.apache.james.modules.BlobExportMechanismModule;
-import org.apache.james.modules.DistributedTaskSerializationModule;
import org.apache.james.modules.MailboxModule;
import org.apache.james.modules.MailetProcessingModule;
import org.apache.james.modules.RunArgumentsModule;
@@ -192,7 +191,7 @@ public class PostgresJamesServerMain implements JamesServerMain {
case IN_MEMORY:
return List.of(new TaskManagerModule());
case RABBITMQ:
- return List.of(new DistributedTaskManagerModule(), new DistributedTaskSerializationModule());
+ return List.of(new DistributedTaskManagerModule());
default:
throw new RuntimeException("Unsupported event-bus implementation " + configuration.eventBusImpl().name());
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org