This is an automated email from the ASF dual-hosted git repository.
rcordier 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 a898033965 JAMES-4037 Resolve MailboxTyper for Spring
a898033965 is described below
commit a8980339652e77dc1abe413d565351ce5701115c
Author: Benoit TELLIER <[email protected]>
AuthorDate: Wed May 22 12:45:21 2024 +0200
JAMES-4037 Resolve MailboxTyper for Spring
---
.../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 178d1c2137..117f0baaa8 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
@@ -36,13 +36,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]