make camel-mail dependency on Spring's JavaMailSenderImpl optional
------------------------------------------------------------------
Key: CAMEL-4161
URL: https://issues.apache.org/jira/browse/CAMEL-4161
Project: Camel
Issue Type: Improvement
Components: camel-mail
Reporter: Donald Whytock
Priority: Minor
camel-mail is currently dependent on
org.springframework.mail.javamail.JavaMailSenderImpl, but uses relatively
little of its functionality. In many cases it may be sufficient to fall back
on a default JavaMailSenderImpl that only implements the bare minimum necessary
to send mail, similar to how Management functionality falls back on
DefaultManagementStrategy if the Spring JMX implementation is not available.
This would make camel-mail use possible in an otherwise Spring-less application.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira