Oh, maybe I can specify 'javaMailSender' parameter.FWIW, I've just found an 
example configuring a javaMailSender bean using jndi: - 
https://rozvoj.fit.cvut.cz/Main/spring-mail-a-jndi

Thanks anyway,
Woonsan

 
      From: Woonsan Ko <woon_...@yahoo.com.INVALID>
 To: "users@camel.apache.org" <users@camel.apache.org> 
 Sent: Friday, March 13, 2015 11:58 AM
 Subject: SMTP with JNDI Mail Session
   
Hi,
Can I use JNDI resource name in smtp: endpoint instead of having to specify the 
detail in either the URL or MailComponent bean [1]. It should be very useful if 
I can simply refer to the configured JNDI mail session in the container.

Thanks in advance,
Woonsan

[1] http://camel.apache.org/mail.html
 

   

Reply via email to