Hello,
I am migrating an application from JBoss to TomEE.
It uses a feature of JBoss that allows sending mails easily.
In JBoss, there is a configuration file:

<jbossfolder>/server/default/deploy/mail-service.xml

that contains all SMTP parameters. At startup, JBoss creates a
ConnectionFactory based on these parameters, and publishes it via JNDI.
At runtime, this ConnectionFactory is retrieved via JNDI:

ConnectionFactory connectionFactory = (ConnectionFactory)
ctx.lookup("QueueConnectionFactory");

Is there anything similar in TomEE?
Thank you.




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Migrating-mail-service-from-JBoss-to-TomEE-tp4680367.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to