Spring JavaMailSender: makes it asynchronous and persistent

Is there a simple / easy way to add persistence to Spring JavaMailSender and make it work asynchronously? Does Spring provide any "built-in" support for this? I am currently looking at queues with JMS, but they seem redundant for the task (looking at ActiveMQ and RabbitMQ). Is there a simple JMS option?

+3
source share
2 answers

Your approach with okay. Unfortunately, persistence and asynchronous processing are not such an easy task, and you will have to code a bit.

Spring , JMS inbounds - , XML DSL.

+2

- Spring , , , task xml <task:annotation-driven/>. @Async, . , , Spring . , JMS .

-1

All Articles