This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Description
Hi @garyrussell and @artembilan
While using AmazonS3MessageHandler in a Spring XD module, I'm running into exceptions.
In AmazonS3MessageHandler.handleMessageInternal(), the ExpressionEvaluatingMessageProcessor.processMessage() called here expects a BeanFactory. Because this is not a managed bean see creation here you get a RuntimeException complaining of "No beanfactory".
The same can also occur with AmazonS3MessageHandler.setFileNameGenerator(), however setters exist to provide a managed bean.
I was thinking instead of creating the ExpressionEvaluatingMessageProcessor, it could be passed in.
I'd be happy to issue a PR. What do you think?
I also have a sample XD module that exhibits the behavior if you'd like me to share.
Thanks!