Announcement Announcement Module
Collapse
No announcement yet.
Making SimpleMailMessage serializable? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Making SimpleMailMessage serializable?

    I've been using the Spring/Quartz integration and found it really useful, esp. its clustering capabilities. I'd like to use the DB backed job store to send mail, however, i've found that the SimpleMailMessage doesn't implement Serializable, so I can't just drop one into the JobDataMap and go my merry way, and expect it to serialize correctly.

    Is there a reason why SimpleMailMessage doesn't/shouldn't/couldn't implement Serializable?

    Thanks,
    Dolan

  • #2
    Dolan,

    the SimpleMailMessage has been made Serializable and is available in CVS HEAD.

    Comment


    • #3
      Thanks Dmitriy -- this makes my code a whole lot more straightforward!

      -Dolan

      Comment

      Working...
      X