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

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


The following commit(s) were added to refs/heads/3.8.x by this push:
     new dd55cb2aa7 JAMES-4037 Resolve MailboxTyper for Spring (#2255)
dd55cb2aa7 is described below

commit dd55cb2aa74ac4592c0e1fb8bf1b8efd39dc7e74
Author: Benoit TELLIER <[email protected]>
AuthorDate: Mon May 27 08:59:53 2024 +0200

    JAMES-4037 Resolve MailboxTyper for Spring (#2255)
---
 .../src/main/resources/META-INF/spring/imapserver-context.xml         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/server/protocols/protocols-imap4/src/main/resources/META-INF/spring/imapserver-context.xml
 
b/server/protocols/protocols-imap4/src/main/resources/META-INF/spring/imapserver-context.xml
index 82cc971e89..defac23ddb 100644
--- 
a/server/protocols/protocols-imap4/src/main/resources/META-INF/spring/imapserver-context.xml
+++ 
b/server/protocols/protocols-imap4/src/main/resources/META-INF/spring/imapserver-context.xml
@@ -35,13 +35,13 @@
         <constructor-arg index="0" ref="mailboxmanager"/>
         <constructor-arg index="1" ref="event-bus"/>
         <constructor-arg index="2" ref="subscriptionManager"/>
-        <!-- The mailboxTyper -->
-        <constructor-arg index="3" value="#{null}"/>
+        <constructor-arg index="3" ref="mailboxTyper"/>
         <constructor-arg index="4" ref="quotaManager"/>
         <constructor-arg index="5" ref="quotaRootResolver"/>
         <constructor-arg index="6" ref="timeMetricFactory"/>
     </bean>
 
+    <bean id="mailboxTyper" 
class="org.apache.james.imap.api.process.DefaultMailboxTyper"/>
     <bean id="imapDecoderFactory" 
class="org.apache.james.imap.main.DefaultImapDecoderFactory"/>
     <bean id="imapDecoder" factory-bean="imapDecoderFactory" 
factory-method="buildImapDecoder"/>
 


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

Reply via email to