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
The following commit(s) were added to refs/heads/master by this push:
new c9639a66c6 JAMES-2586 Bind AttachmentBlobResolver (#2597)
c9639a66c6 is described below
commit c9639a66c61ad87b323ab895c80833df6f1a4505
Author: Benoit TELLIER <[email protected]>
AuthorDate: Fri Jan 17 09:09:45 2025 +0100
JAMES-2586 Bind AttachmentBlobResolver (#2597)
---
.../main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java
b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java
index 71004190e3..bfa80ab9b3 100644
---
a/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java
+++
b/server/container/guice/protocols/jmap/src/main/java/org/apache/james/jmap/rfc8621/RFC8621MethodsModule.java
@@ -90,6 +90,7 @@ import org.apache.james.jmap.method.ZoneIdProvider;
import org.apache.james.jmap.pushsubscription.DefaultWebPushClient;
import org.apache.james.jmap.pushsubscription.PushClientConfiguration;
import org.apache.james.jmap.pushsubscription.WebPushClient;
+import org.apache.james.jmap.routes.AttachmentBlobResolver;
import org.apache.james.jmap.routes.BlobResolver;
import org.apache.james.jmap.routes.DownloadRoutes;
import org.apache.james.jmap.routes.EventSourceRoutes;
@@ -202,6 +203,7 @@ public class RFC8621MethodsModule extends AbstractModule {
blobResolverMultibinder.addBinding().to(MessageBlobResolver.class);
blobResolverMultibinder.addBinding().to(UploadResolver.class);
blobResolverMultibinder.addBinding().to(MessagePartBlobResolver.class);
+ blobResolverMultibinder.addBinding().to(AttachmentBlobResolver.class);
Multibinder<Disconnector> disconnectorMultibinder =
Multibinder.newSetBinder(binder(), Disconnector.class);
disconnectorMultibinder.addBinding().to(WebSocketRoutes.class);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]