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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
