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

Reply via email to