Hi Mark,
I managed to isolate the problem. I now know it has nothing to do with the
java mail api.
Here is my method:
I deliberately throw a RuntimeException from the
envoyerMail method and it hangs where it is noted //here. I also know that Spring does create the beans properly and advises them propertly according to the @Transactional annotation because it says so in the logs. It is as if my method wouldn't manage to rethow the RuntimeException...
What could I be getting wrong?
Julien.