You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Pietro Romanazzi <p....@innova.puglia.it> on 2017/01/23 16:00:41 UTC

How to set the Mail Queue Factory to FileMailQueueFactory on James Server 3.0.0 Beta 5

Hi All,

did anyone tried successfully to set the Mail Queue Factory to FileMailQueueFactory?

When I try this I get an error 

WARN  10:00:42,528 | org.apache.james.container.spring.context.JamesServerApplicationContext | Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mailqueuefactory' defined in class path resource [META-INF/spring/file-queue-context.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [org.apache.james.queue.api.MailQueueItemDecoratorFactory]: : No qualifying bean of type [org.apache.james.queue.api.MailQueueItemDecoratorFactory] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.apache.james.queue.api.MailQueueItemDecoratorFactory] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {} 

See also my previous message on this list.

Thanks and regards,
 

Pietro